Kit Plummer
Advanced Programs
Raytheon Missile Systems
520.360.4729 (cell)
520.545.9346 (desk)
kitplummer (im)Yes...the TextMessage limitation (due to the NormalizedMessage) is somewhat troublesome. But, if you want to deal with "bytes" for example you can create a base64 element type in the XML and embed into the TextMessage.

rabi wrote:
ServiceMix JMS consumer uses DefaultConsumerMarshaler for TextMessage. You
can send a javax.jms.TextMessage with any text content. you can  add the
filenames etc that you require to it(can create some xml structure).
If you do not want to use TextMessage then you can write your own marshaller
and configure it in your xbean configuration.




Gordon Dickens wrote:
Hello,

Can anyone point me to an example of sending a JMS message in ServiceMix using JBI? I am trying to send a JMS message indicating that a file has arrived in a directory. I would like the message to include at a minimum the filename and directory.

I have looked through several JMS examples and I could not find any clear indication of how to send custom contents (such as file name and directory).

Thanks,
Gordon Dickens



Reply via email to