Author |
Message
|
phani_16 |
Posted: Thu Mar 10, 2011 5:49 am Post subject: Cluster user workload exit |
|
|
Novice
Joined: 09 Mar 2011 Posts: 20
|
Hi,
I'm new to MQ and would like to know if there is any sample program to test a user exit program ( Java ) for the cluster workload.
In MQ 7 Queue Manager Clusters.pdf , they have provided with one sample user exit program,but its a ' C ' program and would like to have an example of a Java Program to test.
Thanks in advance. |
|
Back to top |
|
 |
mvic |
Posted: Thu Mar 10, 2011 6:02 am Post subject: Re: Cluster user workload exit |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
A cluster workload exit must be written in C.
It is loaded into queue manager processes, so must be compatible with those. This means it must be written in C. |
|
Back to top |
|
 |
exerk |
Posted: Thu Mar 10, 2011 6:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
As far as I am aware exits can only be written in C, but happy to stand corrected on that...
EDIT: ...and up pops confirmation (thank you mvic). _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
phani_16 |
Posted: Thu Mar 10, 2011 6:14 am Post subject: |
|
|
Novice
Joined: 09 Mar 2011 Posts: 20
|
Thanks very much for the reply. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 10, 2011 7:14 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
A sufficiently skilled C programmer could write a cluster user exit that would invoke a JVM.
Presumably a programmer skilled enough to do that would know why it is a bad idea to do that. |
|
Back to top |
|
 |
|