marshal the given object to a bytesmessage . concode_field_sep Unmarshaller unmarshaller concode_elem_sep MessageType targetType concode_elem_sep Marshaller marshaller concode_field_sep Object unmarshalFromTextMessage concode_elem_sep void setMarshaller concode_elem_sep Object unmarshalFromMessage concode_elem_sep Message toMessage concode_elem_sep void afterPropertiesSet concode_elem_sep Message marshalToMessage concode_elem_sep void setTargetType concode_elem_sep TextMessage marshalToTextMessage concode_elem_sep void setUnmarshaller concode_elem_sep Object fromMessage concode_elem_sep Object unmarshalFromBytesMessage
BytesMessage function ( Object arg0 , Session arg1 , Marshaller arg2 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( 1024 ) ; StreamResult loc1 = new StreamResult ( loc0 ) ; arg2 . marshal ( arg0 , loc1 ) ; BytesMessage loc2 = arg1 . createBytesMessage ( ) ; loc2 . writeBytes ( loc0 . toByteArray ( ) ) ; return loc2 ; }