Java and MSMQ

前端 未结 5 933
梦如初夏
梦如初夏 2020-12-06 10:25

I was curious if anyone had any suggestions on a Java library that provides access to MSMQ? I\'ve downloaded the trial of the J-Integra Java-COM library and have built and

相关标签:
5条回答
  • 2020-12-06 10:40

    You can also try the http://javamsmq.codeplex.com/ which is also provide a complete solution of MSMQ JAVA interoperability.As well this having Unicode ASCII all functionality.In other dll based open source having memory leakage problem like crashing of application.But this open source don't having any memory leakage problem.

    0 讨论(0)
  • 2020-12-06 10:45

    Update: This answer no longer applies per comment:

    Camel msmq component is discontinued : fusesource.com/forums/thread.jspa?messageID=6040

    You might take a look at how Apache Camel does it: Apache Camel: msmq

    0 讨论(0)
  • 2020-12-06 10:51

    I am author of jni4net, open source intraprocess bridge between JVM and CLR. It's build on top of JNI and PInvoke. No C/C++ code needed. I hope it will help you.

    0 讨论(0)
  • 2020-12-06 10:55

    There is an open-source library on CodePlex: MsmqJava. Free.

    0 讨论(0)
  • 2020-12-06 10:59

    As far as I understand J-Integra is the only pure Java implementation of MSMQ, ie this is the only alternative if you are not running on Windows. (Please let me know if there are other alternatives!)

    Apache Camel and other uses JNI to access the Windows API (DLL files) which obviously means that is only works on Windows.

    I am currently trying out the code provided here http://www.codeplex.com/MsmqJava which seems simple to use, but I'm not really sure how transactions work.

    0 讨论(0)
提交回复
热议问题