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 » General Discussion » channel exit using java

Post new topic  Reply to topic
 channel exit using java « View previous topic :: View next topic » 
Author Message
Arjun
PostPosted: Fri Jul 30, 2004 11:00 am    Post subject: channel exit using java Reply with quote

Newbie

Joined: 29 Jun 2004
Posts: 3

Can we write channel exit code using Java. Or is it only C. I downloaded the BlockIP code and am wondering if we can write similar code in Java.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jul 30, 2004 12:33 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I have heard that at the latest version of MQ (5.3 CSD07), you can write a JAVA exit for a channel that was invoked by a JAVA app (basically a SVRCONN channel from a JAVA app to the QM). All other channel types would still need to be C.

Haven't tried this though.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kirani
PostPosted: Sat Jul 31, 2004 10:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think even with MQ 5.2 one could write a channel exit in Java for Java application. For example, you can write a security exit for MQSI Control center app to protect connection to config mgr.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
clindsey
PostPosted: Sat Jul 31, 2004 6:00 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You can write a send exit, receive exit, or security exit in java.
Refer to the Using Java manual, chapter 9 for the details.

Charlie


Last edited by clindsey on Sun Aug 01, 2004 2:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
markt
PostPosted: Sat Jul 31, 2004 10:41 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

You can write any of the appropriate channel exit types - security, send, receive - in Java provided they are going to run inside the Java client. Of course, message exits do not exist for clients.

You cannot write any exit in Java if you want to run it inside the C client or the queue manager channel programs (which includes the SVRCONN side of a client).
Back to top
View user's profile Send private message
MQGuy2000
PostPosted: Mon Aug 02, 2004 7:03 am    Post subject: Reply with quote

Centurion

Joined: 20 Jul 2003
Posts: 131

OK. If the exit is written in Java then it must be used only with a Java application. How about C. Can an exit be written in C and can it be used with a non-C application?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » channel exit using java
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.