Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running MSMQ application on Linux server

539 views
Skip to first unread message

Srini

unread,
Aug 17, 2009, 2:44:01 PM8/17/09
to
I need to run a java application on a Linux server, and I need to send
messages to MSMQ queue on a windows server from that application. Is there a
library available for Linux platform that I can use to build such
application? I am planning to use Java JNI to run C++ code so that I can use
the MSMQ C library provided by Microsoft for accessing MSMQ services. It is
possible to do this if I run the java app on windows server, but Can I do
this from a Linux server, how do I configure MSMQ on Linux server? What are
the issues involved in sending messages to an MSMQ queue on Windows server
from a Linux server? Apprecite any help on this.

John Breakwell (MSFT)

unread,
Aug 18, 2009, 6:13:40 AM8/18/09
to
Hi Srini,

The main obstacle is that queue managers send messages, not applications. So
you would need an MSMQ queue manager on the Linux machine that your
application can talk to. You could in theory write your own queue manager
which was able to send and receive messages; not as simple as it sounds as
there are layers of acknowledgement communication to take into account. MSDN
is a good place to start as all the protocols have been published:

Application Services and .NET Framework Protocols
http://msdn.microsoft.com/en-us/library/cc441976.aspx

and specifically:

[MC-MQSRM]: Message Queuing (MSMQ): SOAP Reliable Messaging Protocol (SRMP)
http://msdn.microsoft.com/en-us/library/cc219016.aspx

Failing that, there may be a 3rd party client you can use to support your
application.

Cheers
John Breakwell (MSFT)

"Srini" <Sr...@discussions.microsoft.com> wrote in message
news:B99F5E82-2AB1-4FE0...@microsoft.com...

0 new messages