nextgenhealthcare / connect

The swiss army knife of healthcare integration.
Other
929 stars 280 forks source link

AMQP Reader/Writer #2179

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

Please consider implementing an AMQP Reader and Writer to interface with RabbitMQ. AMQP is similar in function to JMS, with support for many languages besides Java. Rabbit has a lot of momentum and the AMQP protocol looks like a worthwhile tool to add to Mirth Connect. At least one big customer has expressed interest in using Rabbit with MC. If implemented, this could become one of several ways to offer "guaranteed delivery" with Appliances and MC (although, per the discussion with Jacob yesterday, probably not the first thing we'd suggest; however, it would be great to have the option).

http://www.rabbitmq.com/api-guide.html http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/

Be sure to implement the autoAck functionality, maybe make it a checkbox or something. A key point of guaranteed delivery would be for the consuming channel to not ack the message until it's successfully delivered it.

Imported Issue. Original Details: Jira Issue Key: MIRTH-2236 Reporter: steven_kehlet Created: 2012-10-04T10:48:28.000-0700

delta0005 commented 2 years ago

Is there any update on this? I would like to know if RabbitMQ can be used with Mirth

bodograumann commented 2 years ago

It is possible in principle, but you currently have to use JMS and then manually remove the JMS container format from the message when receiving it.

delta0005 commented 2 years ago

It is possible in principle, but you currently have to use JMS and then manually remove the JMS container format from the message when receiving it.

Hi Thanks for the quick reply, I should clarify I'm only concerned with sending messages to Mirth, is it still possible with RabbitMQ?

pladesma commented 2 years ago

You should be able to use the JMS Listener to interface with RabbitMQ. You'll have to include the JMS client libraries for RabbitMQ and AMQP in your custom-lib folder and set server.includecustomlib = true in mirth.properties.

cturczynskyj commented 2 years ago

I just put up an article in the Mirth Forums about interfacing with a RabbitMQ server. Maybe you will find it helpful.