You should try using the new <jms:consumer/> endpoint that is part of
3.2.
You will be able to set up a custom marshaler and convert the jms
message
to a normalized message the way you want....
Take a look at http://cwiki.apache.org/SM/servicemix-jms-new-
endpoints.html
for the in progress documentation.
Cheers,
Guillaume Nodet
On Aug 21, 2007, at 8:18 PM, Anshuk Chinmoy Pal Chaudhuri wrote:
Hi,
I have deployed a jms endpoint (using servicemix-jms) which
receives the
message from the websphere mqueue. The target service of that
service is
different service.
Now the requirement is that the jms endpoint after receiving the
message, instead of setting the content of the normalized message with
the mqueue message would attach the mqueue message to the
attachment of
the normalized message. (Since the mqueue message would be a non-xml)
Is that possible?
Warm Regards,
Anshuk Pal Chaudhuri
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
intended solely for the use of the addressee(s). If you are not the
intended recipient, please notify the sender by e-mail and delete
the original message. Further, you are not to copy, disclose, or
distribute this e-mail or its contents to any other person and any
such actions are unlawful. This e-mail may contain viruses. Infosys
has taken every reasonable precaution to minimize this risk, but is
not liable for any damage you may sustain as a result of any virus
in this e-mail. You should carry out your own virus checks before
opening the e-mail or attachment. Infosys reserves the right to
monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be
stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***