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 » IBM MQ Java / JMS » Java Service (User DEfined) Embedded into MQ Services ???

Post new topic  Reply to topic
 Java Service (User DEfined) Embedded into MQ Services ??? « View previous topic :: View next topic » 
Author Message
abiram8
PostPosted: Mon Dec 15, 2003 11:50 pm    Post subject: Java Service (User DEfined) Embedded into MQ Services ??? Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Dec 16, 2003 5:46 am    Post subject: Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Tue Dec 16, 2003 6:04 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Look at custom services - does this meet your requirement?
Back to top
View user's profile Send private message
abiram8
PostPosted: Wed Dec 17, 2003 12:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Dec 17, 2003 5:30 am    Post subject: Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Wed Dec 17, 2003 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
abiram8
PostPosted: Wed Dec 17, 2003 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
JasonE
PostPosted: Thu Dec 18, 2003 1:38 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » Java Service (User DEfined) Embedded into MQ Services ???
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.