public void setUserProperties ( Map userData ) throws SIResourceException { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "setUserProperties" , new Object [ ] { userData } ) ; _consumerDispatcher . getConsumerDispatcherState ( ) . setUserData ( userData ) ; Transaction tran = _messageProcessor . getTXManager ( ) . createAutoCommitTransaction ( ) ; if ( ! _consumerDispatcher . getReferenceStream ( ) . isUpdating ( ) ) { try { _consumerDispatcher . getReferenceStream ( ) . requestUpdate ( tran ) ; } catch ( MessageStoreException e ) { // MessageStoreException shouldn't occur so FFDC. FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.MPSubscriptionImpl.setUserProperties" , "1:269:1.6" , this ) ; SibTr . exception ( tc , e ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "setUserProperties" , "SIResourceException" ) ; throw new SIResourceException ( e ) ; } } if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "setUserProperties" ) ; }
Store a map of user properties with a subscription The map provided on this call will replace any existing map stored with the subscription