web stats
JMS Writer channel - ObjectMessage help - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2007, 11:30 AM
josemathews josemathews is offline
Mirth Newb
 
Join Date: May 2007
Posts: 9
josemathews
Default JMS Writer channel - ObjectMessage help

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
Reply With Quote
  #2  
Old 10-25-2007, 09:53 AM
josemathews josemathews is offline
Mirth Newb
 
Join Date: May 2007
Posts: 9
josemathews
Default Re:JMS Writer channel - ObjectMessage help

Hi,
Does anybody had any success in producing a javax.jms.ObjectMessage object from Mirth. I have been spending the last few days trying to figure this out, but no success.

I have been able to tell Mirth channel to send over rawData/transformedData and even the message object. But NO success with being able to send over a custom dto object wrapped in javax.jms.ObjectMessage.

Any insight in this area is highly appreciated.

Regards,
- jose mathews
Reply With Quote
  #3  
Old 01-11-2008, 11:08 AM
egfesser egfesser is offline
Mirth Newb
 
Join Date: Dec 2007
Posts: 15
egfesser
Default Re:JMS Writer channel - ObjectMessage help

Did you ever figure this out? I am currently investigating Mirth as a potential solution on my project, and the Java content available here seems to be a bit light. My client uses eGate to send HL7 messages via LLP. I have run a few LLP input tests, and this aspect of Mirth seems to work. I am wondering how to output from Mirth to a JMS message driven bean using JBossAS.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Destination as CHANNEL WRITER ... ? faisalamjad Development 1 04-28-2008 02:07 PM
help me to pass ObjectMessage to my JMS Wrtiter shaiknoor_basha Support 1 10-24-2007 09:40 PM
Questions on Channel Writer hsingh00 Support 2 06-08-2007 11:06 AM
File Template Iterator Example for File Writer in Channel Destination mp3pete Support 0 10-02-2006 01:11 PM
Inbound channel (Destination = File Writer) Error graziano Support 3 09-27-2006 07:36 AM


All times are GMT -7. The time now is 02:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Mirth Corporation