Author |
Message
|
deepu4u |
Posted: Thu Sep 07, 2006 12:47 am Post subject: Java support for MQSeries user exit |
|
|
Apprentice
Joined: 20 Jun 2005 Posts: 37
|
Hi all,
While going through the MQseries Java, I found that MQ Java api supports only Security, Send and Receive exits. But MQseries doc says that there are more user exits like Message exit, Message Retry exit and Channel Auto Definition exit. Do java has support for only those three types of user exit not the remaining. Please comment. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 07, 2006 2:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If the documentation says those are the only ones that Java supports, then those are the only ones that Java supports.
There is no JVM inside the queue manager. Ergo, you can't run Java code inside the queue manager. Most exits have to run inside the queue manager. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Sep 07, 2006 2:27 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
and... the Message Exit isn't supported on any MQ client, Java or otherwise .... _________________ -wayne |
|
Back to top |
|
 |
deepu4u |
Posted: Thu Sep 07, 2006 2:47 am Post subject: |
|
|
Apprentice
Joined: 20 Jun 2005 Posts: 37
|
jefflowrey wrote: |
Ergo, you can't run Java code inside the queue manager. Most exits have to run inside the queue manager. |
I dont understand that if I have to run MQSeriesExit using Java program but you said that exits have to run inside a queue manager but queue manager does not have any JVM. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Sep 07, 2006 2:52 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
There are many exit points in MQ ... many of them run "inside" a qmgr process ... others can run "inside" a MQ client process ...
Jeff's point is that the exits that run inside of MQ cannot be java (no jvm there).... however, the MQ client exits, such as "SendExit", can be written in java iff the client is using MQ Java .... _________________ -wayne |
|
Back to top |
|
 |
deepu4u |
Posted: Thu Sep 07, 2006 3:07 am Post subject: |
|
|
Apprentice
Joined: 20 Jun 2005 Posts: 37
|
thanks for the clarification.
I really appriciate your feedback. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 07, 2006 4:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Exits are stubs of code. They only execute inside programs, not in their own standalone environment.
They are "plug-ins".
Basically, this means that exits can run in two places - inside the client application or inside the queue manager.
Most exits run inside the queue manager.
There is no JVM inside the queue manager, so there is nowhere for Java code to run. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
deepu4u |
Posted: Thu Sep 07, 2006 5:19 am Post subject: |
|
|
Apprentice
Joined: 20 Jun 2005 Posts: 37
|
thank you all for clarifying my doubt. |
|
Back to top |
|
 |
|