web stats
issues with jms connector - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 05-07-2007, 06:05 AM
deepaganu deepaganu is offline
Mirth Newb
Join Date: Apr 2007
Posts: 23
Default issues with jms connector

can you please post a channel which has a destination as Jms writer , coz when i try to connect it gives an exception i.e urlmalformed , mule manager cannot instatiate
Reply With Quote
Old 05-08-2007, 10:36 PM
orlowjb3 orlowjb3 is offline
OBX.1 Kenobi
Join Date: Feb 2007
Posts: 48
Default Re:issues with jms connector


i had the same problem.
I changed the code of mirth and now it works.

If you want i can send you my changes.

Best Regards

Jörg Orlowski
Reply With Quote
Old 08-31-2007, 12:40 PM
josemathews josemathews is offline
Mirth Newb
Join Date: May 2007
Posts: 9
Default Re:issues with jms connector

Hi, I have been trying to get my channel destination to use JMS Writer, but without success. Could you please post a sample channel as an example?
I am using mirth 1.6.

- jose mathews
Reply With Quote
Old 09-05-2007, 08:18 AM
level420 level420 is offline
OBX.1 Kenobi
Join Date: Jul 2007
Posts: 32
Default Re:issues with jms connector

Hi Jörg!

Please describe what you have done because I'm hanging also on this problem.

I'm trying to create a JMS writer to JBoss 4.2.

How does your jms write destinition looks like?

Thank you for your help.

Reply With Quote
Old 06-26-2012, 12:12 PM
minhblvd minhblvd is offline
What's HL7?
Join Date: Apr 2012
Posts: 4
minhblvd is on a distinguished road
Default ActiveMQ sample channel

Attached is a sample Mirth channel that reads an input file from c:/data/in, send to an ActiveMQ queue, then move the input file to c:/data/done.
You need ActiveMQ v5.xx installed and running first (i.e. listening on port 61616)

You need to do:
- Prepare the jndi.properties to define your ActiveMQ queue name, make it to a jar file (example jndiprops.jar). Search this forum to see how to do that. Copy it to <mirthdir>/custom-lib.
- Prepare Mirth to create ActiveMQ connection by copy the activemq-core-5.xxxx.jar to <mirthdir>/custom-lib. If you don't, you'll get JMS connection error when deploy Mirth channel.
- Restart Mirth server and admin
- Import and run.
Good luck.
Attached Files
File Type: xml activemq_sample.xml (5.9 KB, 19 views)
Reply With Quote
Old 11-08-2013, 02:51 AM
amith amith is offline
Mirth Newb
Join Date: Aug 2010
Location: London, UK
Posts: 7
amith is on a distinguished road
Default ActiveMQ remote connection Reader and Writer for topic and queue using JNDI

Thank you so much minhblvd. There are bits an pieces all over the forum about this.
To all who shall read this in the future. Follow "minhblvd" instructions.
Just To add: a jar file is just like a zip file you can just drag jndi.properties into jndiprops.jar once you create the jar file or run:
jar.exe cf jndiprops.jar jndi.properties

For my example I have a Queue and Topic in ActiveM called TestMirth & TestTopic respectively.

"jndi.properties files should include the following"
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFac tory
java.naming.provider.url = vm://localhost
queue.TestMirth = TestMirth
topic.TestTopic = TestTopic

copy activemq-all-5.xxxx.jar & jndiprops.jar into the mirth "../custom-lib". You must get these from the ActiveMQ server dir. This way you'll have the same version or download the same version. Restart the Mirth service.

For every new Topic or queue added to ActiveMQ, you must add this to jndi.properties, add to a jar, restart the Mirth service. ie if you're using it in Mirth.

Import the channels(See attachments) Adjust the IP and topic/queue according to the ActiveMQ server, leave the port to 61616
Attached Files
File Type: xml ActiveMQReader.xml (5.0 KB, 19 views)
File Type: xml ActiveMQWriter.xml (3.6 KB, 17 views)

Last edited by amith; 11-08-2013 at 03:10 AM.
Reply With Quote

activemq, jms

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
Mirth Login Issues chrisl Support 4 10-21-2013 05:14 AM
Installation issues dcoyaz Support 0 02-25-2009 02:51 PM
issues (or features?) with 1.3.1 albertosaez Support 1 12-26-2006 10:27 AM
UNDEFINED issues arumpke Support 7 11-07-2006 01:02 PM
Site Issues Update chrisl General Discussion 1 10-31-2006 04:32 AM

All times are GMT -8. The time now is 04:10 AM.

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