web stats
MSMQ Integration with Mirth - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2013, 04:06 AM
sheshagiri sheshagiri is offline
What's HL7?
 
Join Date: Dec 2012
Posts: 1
sheshagiri is on a distinguished road
Question MSMQ Integration with Mirth

Hi,

I wanted to know how to configure mirth with MSMQ.
I have bunch of HL7 message flowing through MSMQ, and want use/build listener to receive/send HL7 messages from/to MSMQ and convert to HL7 to xml / load to Database.

Is this mandate to build MSMQ listener for this scenario, or i can use any of the existing channel (TCP/ HTTP) to build communication.

Thanks,
Sheshagiri
Reply With Quote
  #2  
Old 02-07-2013, 07:44 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,123
narupley is on a distinguished road
Default

MSMQ is .NET based, and there aren't (to my knowledge) any free open-source Java-based solutions for it. So while you can use Mirth to communicate with it, you'll probably have to write a JNI-based solution and include it manually.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 04-29-2015, 01:39 AM
Beugnen Beugnen is offline
What's HL7?
 
Join Date: Apr 2015
Posts: 1
Beugnen is on a distinguished road
Default

Quote:
Originally Posted by narupley View Post
MSMQ is .NET based.
Incorrect. MSMQ circa 1997 pre-dates .NET; is independent of .NET and can be used by Windows apps written in many languages including c++ not just .NET.

I thought Java could invoke c++ code too.

Last edited by Beugnen; 04-29-2015 at 01:45 AM.
Reply With Quote
  #4  
Old 04-29-2015, 06:31 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,123
narupley is on a distinguished road
Default

Quote:
Originally Posted by Beugnen View Post
Incorrect. MSMQ circa 1997 pre-dates .NET; is independent of .NET and can be used by Windows apps written in many languages including c++ not just .NET.

I thought Java could invoke c++ code too.
Sorry about that, it appears I was mistaken. Shows how much I know about MSMQ =P

Java can indeed invoke C++/C# code, through JNI. That's why I mentioned writing a JNI-based solution and including that in a custom resource. That way you can invoke it through your channel's JavaScript code.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
channel architecture, hl7 messages, listener, sender

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


All times are GMT -8. The time now is 12:48 PM.


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