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 » General IBM MQ Support » Calling executable when message reaches a queue

Post new topic  Reply to topic
 Calling executable when message reaches a queue « View previous topic :: View next topic » 
Author Message
smite0hb
PostPosted: Mon Sep 25, 2006 9:37 am    Post subject: Calling executable when message reaches a queue Reply with quote

Novice

Joined: 19 May 2006
Posts: 24

I would like to call a program that takes the message that just was written to a specific queue and process that message. I was reading about Channel - Exit programs.. I was wondering what other options there are to call a program(windows-java, Iseries - ILE...) to process a message that just arrived.. I want to stay away from any type of timer bases process that reads the specific queue and then calls a program to process it... Programs will be on the MQ server 6.0, on a windows or Iseries server.. Any help would be appreciated....
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Mon Sep 25, 2006 9:51 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

What are you trying to accomplish? You could write an application that does a get with wait, or trigger the queue - in which case you'd still need to write an application that does the get. All of this should be well documented in the Application Programming Guide.

Cheers
Steve
Back to top
View user's profile Send private message
smite0hb
PostPosted: Mon Sep 25, 2006 9:56 am    Post subject: Reply with quote

Novice

Joined: 19 May 2006
Posts: 24

All I want to do is when a message hits a queue, call a java application that reads the message and attaches it to an email and sends it.. I wasnt sure if I could use the trigger process off a queue to call the java applicaiton or what other options were out there to call the java application.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Sep 25, 2006 10:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can trigger any program.

This might, for example, be the program "java", with the command line option to tell it to use your class as the main java application.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
smite0hb
PostPosted: Mon Sep 25, 2006 10:32 am    Post subject: Reply with quote

Novice

Joined: 19 May 2006
Posts: 24

Thats it.. but being new.. and trying to read the manuals instead of asking questions.. I am not sure how to actually set up the queue to be able to call the program... In the triggering section of the queue, I need to set the initation queue name(what is the name of the queue, is it something I create or use a default), the process name.. is that where I place the actual program call with the parameters I want to pass to the program.. is there specific red book that can walk me through this? Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Sep 25, 2006 10:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=25092
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 25, 2006 3:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

and for Unix see MQSeries User Group on unix java triggering
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Calling executable when message reaches a queue
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.