|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRMH - Java implementation |
« View previous topic :: View next topic » |
Author |
Message
|
BarryB |
Posted: Tue Jul 06, 2004 10:52 am Post subject: MQRMH - Java implementation |
|
|
Acolyte
Joined: 01 Jul 2004 Posts: 53 Location: Vernon Hills, Il
|
I see that when using Reference Messaging IBM provides the user exits in C++. Are there any exit routines written in Java or is it not possible to implement Reference Messaging with Java?
1) Can't you simply build the MQRMH structure in Java, and then write a Java routine that appends the file when the header message is sent across the channel?
2) I don't believe you can do this with JMS, but if this is simply sending a header message across a channel to another queue, isn't it ok to write the exit routines in Java or is there some reason you can't?
Thanks for your help,
B |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 06, 2004 11:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't think you can write any server-side exits in Java, because the queue manager does not have an associated JVM - there's nothing to execute the java code within.
You could write a C exit that used JNI to call Java code, though. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
leongor |
Posted: Thu Jul 08, 2004 12:13 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
The reference message exit is packaged with WMQ.
So if the dafault behavior is ok with you just add MQRMH header in your MQ Java program. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|