private static JsJmsMessage decodeStreamBody ( String body ) throws MessageDecodeFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "decodeStreamBody" ) ; JsJmsStreamMessage result = new JsJmsStreamMessageImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ; if ( body != null ) { try { StringTokenizer st = new StringTokenizer ( body , "&" ) ; while ( st . hasMoreTokens ( ) ) result . writeObject ( decodeObject ( st . nextToken ( ) ) ) ; } catch ( UnsupportedEncodingException e ) { FFDCFilter . processException ( e , "com.ibm.ws.sib.mfp.impl.WebJsJmsMessageFactoryImpl.decodeStreamBody" , "196" ) ; // This can't happen, as the Exception can only be thrown for an MQ message // which isn't what we have. } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "decodeStreamBody" ) ; return result ; }
Decode a stream message