ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Java support for MQSeries user exit

Post new topic  Reply to topic
 Java support for MQSeries user exit « View previous topic :: View next topic » 
Author Message
deepu4u
PostPosted: Thu Sep 07, 2006 12:47 am    Post subject: Java support for MQSeries user exit Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Thu Sep 07, 2006 2:21 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Thu Sep 07, 2006 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
deepu4u
PostPosted: Thu Sep 07, 2006 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
wschutz
PostPosted: Thu Sep 07, 2006 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
deepu4u
PostPosted: Thu Sep 07, 2006 3:07 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

thanks for the clarification.
I really appriciate your feedback.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Thu Sep 07, 2006 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message
deepu4u
PostPosted: Thu Sep 07, 2006 5:19 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

thank you all for clarifying my doubt.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Java support for MQSeries user exit
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.