That's why you give the pointers to the MCA to look after - which it
appears to do ok - Tested exit with 3 channels sending 3000 messages
interleaved to each in turn - not a slip up once!
Peter
"Tim Armstrong"
<[EMAIL PROTECTED]
.COM>
To: MQSERIES
Sent by:
"MQSeries List" cc:
<[EMAIL PROTECTED] Subject: Re: Channel Exit
IEN.AC.AT>
25-Feb-2003
01:27
Please respond
to "MQSeries
List"
<[EMAIL PROTECTED]
IEN.AC.AT>
However watch out for "thread safety" issues.
Regards
Tim A
[EMAIL PROTECTED]
PMCHASE.COM To:
[EMAIL PROTECTED]
Sent by: MQSeries cc:
List Subject: Re: Channel Exit
<[EMAIL PROTECTED]
.AC.AT>
25/02/2003 02:45
Please respond to
MQSeries List
Well, not officially. But you can make the entry points to be called by
the MCA in C, then have your C program call the C++ functions.
peter.d.cradwick@
GSK.COM To:
[EMAIL PROTECTED]
Sent by: cc:
[EMAIL PROTECTED] Subject: Re: Channel Exit
.ac.at
02/24/2003 09:42
AM
Please respond to
MQSERIES
Just out of interest, it IS also possible to write channel exits in C++.
One just has to be sure that the MCA entry point uses C naming convention,
and not a mangled C++ one - i.e it is not a class member. But it can then
instantiate class(s) and pass the pointers to the MCA for safe keeping. In
fact the class provides a very convenient way of storing channel state
data.
Happy to provide sample code if anyone interested.
Peter
"Pavel
Tolkachev"
<pavel.tolkache
[EMAIL PROTECTED]> To: MQSERIES
Sent by: cc:
"MQSeries List" Subject: Re: Channel Exit
<[EMAIL PROTECTED]
IEN.AC.AT>
23-Feb-2003
01:27
Please respond
to "MQSeries
List"
<[EMAIL PROTECTED]
IEN.AC.AT>
Hello Baga,
There may be some misunderstanding here: there *is* a case when you can
write channel exits in Java, in particularly when you connect to MQSeries
from the Java applications working in client mode (i.e. using CLTCONN --
SVRCONN channel). You set them up separately for each Java application
using
MQEnvironment.xxxExit = new MyExit();
...
where xxx stands for one of the 'receive', 'send' or 'security' and MyExit
should implement MQReceiveExit, MQSendExit or MQSecurityExit
correspondently (please see the documentation for these interfaces in Using
Java book). According the documentation, you cannot do it in bindings mode.
Personally I have never used Channel Exits in Java myself.
Hope this will help,
Pavel
Neil Casey
<[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
NAL.COM.AU> cc:
Sent by: MQSeries Subject: Re: Channel Exit
List
<[EMAIL PROTECTED]
n.AC.AT>
02/18/2003 04:56
PM
Please respond to
MQSeries List
Sorry to disappoint you.
The following quote is taken from the WebSphere MQ v5.3 Intercommunication
Guide. Under "Further Considerations...Chapter 46, Channel Exit Programs"
"The exit is a dynamically loaded object that must be written in C. "
This statement applies to ALL channel exit programs on Solaris.
The equivalent statement for the Windows platform is:
"The exit is a DLL that must be written in C. "
Note that neither C++ or Java are permitted.
Regards,
Neil Casey.
|---------+--------------------------------------->
| | Nagendran Bagavathiraj |
| | <[EMAIL PROTECTED]|
| | TECH.CO.IN> |
| | Sent by: MQSeries List |
| | <[EMAIL PROTECTED]> |
| | |
| | |
| | 19/02/2003 05:32 |
| | Please respond to MQSeries |
| | List |
| | |
|---------+--------------------------------------->
>
----------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Channel Exit
|
>
----------------------------------------------------------------------------------------------------------|
Hi all,
Just need a confirmation from the group that Channel Exit program can be
written in java and can be registered in MQ Series Environment for
Windows/Sun Solaris platform.
Thanks in advance.
Baga
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
--
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
This communication is for informational purposes only. It is not intended
as
an offer or solicitation for the purchase or sale of any financial
instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made
herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive