Hi,
I am using Mirth Version 1.5.0.2272.
I have created a JMS Writer channel to send the messages to a queue in ActiveMQ. On the other end, I have my application (Spring based) as the consumer to the queue. I am able to receive the HL7 message in the application as a java.jms.TextMessage and read its contents.
I would like to configure my JMS Writer channel to send an ObjectMessage instead of the TextMessage. Is it best to do that in javascript? I can create a concrete instance of ObjectMessage and use javascript to populate values.
1. Is that the correct approach?
2. Is there a better place to write the javascript to populate values than in the Filter?
3. Once I have the ObjectMessage, how do I tell my channel to send it as the message?
Any help is highly appreciated.
Thanks,
- Jose Mathews
MainPoint Systems
2434 Main St,
Santa Monica, CA - 90405
I am using Mirth Version 1.5.0.2272.
I have created a JMS Writer channel to send the messages to a queue in ActiveMQ. On the other end, I have my application (Spring based) as the consumer to the queue. I am able to receive the HL7 message in the application as a java.jms.TextMessage and read its contents.
I would like to configure my JMS Writer channel to send an ObjectMessage instead of the TextMessage. Is it best to do that in javascript? I can create a concrete instance of ObjectMessage and use javascript to populate values.
1. Is that the correct approach?
2. Is there a better place to write the javascript to populate values than in the Filter?
3. Once I have the ObjectMessage, how do I tell my channel to send it as the message?
Any help is highly appreciated.
Thanks,
- Jose Mathews
MainPoint Systems
2434 Main St,
Santa Monica, CA - 90405
Comment