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 » accessing TMC structure from java application

Post new topic  Reply to topic
 accessing TMC structure from java application « View previous topic :: View next topic » 
Author Message
chaitu_bca
PostPosted: Sun Apr 18, 2004 9:56 pm    Post subject: accessing TMC structure from java application Reply with quote

Novice

Joined: 05 Apr 2004
Posts: 20

I have a requirement wherein i need to access the TMC structure from the java application which is started as soon as trigger is fired. In the process definition I have given the batch file which will open my java application. when the trigger is fired on the console my batch files path and TMC is displayed first and then my java application starts.

Now how do I access the TMC in my java application if it is passed to the console before my java program starts.
Back to top
View user's profile Send private message
clindsey
PostPosted: Mon Apr 19, 2004 6:07 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Here is a sample that does what you are trying to do:

http://www.developer.ibm.com/tech/sampmq.html

Go to this page and scroll down until you see JavaTrigger.java.
This link should take you directly to the source file:
http://www.developer.ibm.com/tech/sample_code_handler.pl?action=display&object=/tech/sample_code/mq/JavaTrigger.java

Charlie
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 » accessing TMC structure from java application
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.