Author |
Message
|
Arjun |
Posted: Fri Jul 30, 2004 11:00 am Post subject: channel exit using java |
|
|
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 |
|
 |
PeterPotkay |
Posted: Fri Jul 30, 2004 12:33 pm Post subject: |
|
|
 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 |
|
 |
kirani |
Posted: Sat Jul 31, 2004 10:16 am Post subject: |
|
|
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 |
|
 |
clindsey |
Posted: Sat Jul 31, 2004 6:00 pm Post subject: |
|
|
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 |
|
 |
markt |
Posted: Sat Jul 31, 2004 10:41 pm Post subject: |
|
|
 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 |
|
 |
MQGuy2000 |
Posted: Mon Aug 02, 2004 7:03 am Post subject: |
|
|
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 |
|
 |
|