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 Discussion » Trigging Java using MQ Trigger

Post new topic  Reply to topic
 Trigging Java using MQ Trigger « View previous topic :: View next topic » 
Author Message
pmane
PostPosted: Thu Aug 22, 2002 11:08 pm    Post subject: Trigging Java using MQ Trigger Reply with quote

Acolyte

Joined: 17 Oct 2001
Posts: 50

How can I trigger Java application using MQ trigger. Only way to define process is
DEFINE PROCESS (TEST.PROCESS)
APPLTYPE (UNIX)
APPLICID ('testapp')

Now I have a class file , I would like to execute the process as
java testapp someargs
Can I do that ? Or I have to write a script file and execute it ?
Back to top
View user's profile Send private message
bduncan
PostPosted: Fri Aug 23, 2002 9:01 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Write a script to execute the class and call that from the Process definition (especially if you need to setup path variables, etc, before running java). If additional declarations aren't necessary, you can simply stick the entire 'java testapp someargs' in the APPLICID field, and it will run. However, you must ensure everything is within PATH variables defined within the scope of the user running the trigger monitor.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Trigging Java using MQ Trigger
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.