Author |
Message
|
abiram8 |
Posted: Mon Dec 15, 2003 11:50 pm Post subject: Java Service (User DEfined) Embedded into MQ Services ??? |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
Our Client requirments is to create a java service which can be later embedded as MQSeries Services.
Eg., we have Listerner Service,QueueManager Service etc.,
I donot know If one can create a Java service and later embed into MQSeries Service.
We have this requirment since the other EAI Tool named "AMTRIX" allowed me to do so.
But I donot know if the Java service can be embed as
(inbuild-> which is user defined) MQService.
 |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 16, 2003 5:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Can you be more clear on what you mean by "Java service" and "MQService"?
Maybe you can give an example of what the previous EAI tool allowed you to do, that your clients want to emulate with MQSeries (which is just a messaging product, not an EAI product). That is, what did they *do* with this embedded service? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JasonE |
Posted: Tue Dec 16, 2003 6:04 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Look at custom services - does this meet your requirement? |
|
Back to top |
|
 |
abiram8 |
Posted: Wed Dec 17, 2003 12:52 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
The Tool Amtrix allowed me to embed (user written) MQ Adapter for Amtrix for our business need.
Later I registered this User written service as a Amtrix service now this service atarts and stops with other Amtrix service.
Same as Listener & QueueManager service in MQServer.
My question is Does MQSeries allows the same so I can have other extra service running with Listener and QueueManager service.
Thanks and Regards,
Abiram
 |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 17, 2003 5:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
abiram8 wrote: |
My question is Does MQSeries allows the same so I can have other extra service running with Listener and QueueManager service. |
Yes. That's the "custom services" Jason mentioned. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JasonE |
Posted: Wed Dec 17, 2003 8:10 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
MQ Services on Windows supports 2 types of custom services. These can run before or after a qmgr is running and are either:
Process based - We run a pgm and monitor its health by checking the process is still alive.
Command based - We run a start command at startup and an end command at termination. Both commands must end and we display the status as Unknown (as we cant tell). |
|
Back to top |
|
 |
abiram8 |
Posted: Wed Dec 17, 2003 9:37 pm Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
Can you please let me know any link or PDF's which will guide me to develop a "custom services" with mqseries or any sample programme which will give me good idea to start with
Thanks and Regards,
Abiram
 |
|
Back to top |
|
 |
JasonE |
Posted: Thu Dec 18, 2003 1:38 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
You dont need to 'code' anything special. Bring up the mmc MQ Services snapin, expand the qmgr and you will see a folder 'Custom Services' (Note there is also a global one but its not used much as its less practical). Click on the folder, then right mouse->New, 'Custom Service'
In there you define a name, description (both are up to you), and then a type (Command / process) and Startup (before or after the qmgr is started) plus the Start command and End command. For process types, just fill in the Start command and ensure the program launched doesnt end. |
|
Back to top |
|
 |
|