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 Installation/Configuration Support » how to invoke Java class file from MQ using applctntriggerng

Post new topic  Reply to topic
 how to invoke Java class file from MQ using applctntriggerng « View previous topic :: View next topic » 
Author Message
lerner
PostPosted: Thu Jun 14, 2012 9:57 am    Post subject: how to invoke Java class file from MQ using applctntriggerng Reply with quote

Apprentice

Joined: 17 May 2012
Posts: 26

hi

how can we invoke java class file from MQ using application triggering?

any suggestions please..it's very urgent
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 14, 2012 10:09 am    Post subject: Re: how to invoke Java class file from MQ using applctntrigg Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lerner wrote:
how can we invoke java class file from MQ using application triggering?


Have WMQ trigger the application that invokes the class?

My Java's not the finest by why doesn't that obvious solution work for you?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 14, 2012 7:49 pm    Post subject: Reply with quote

Grand High Poobah

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

Because he does not know how to use google otherwise he would have found a few post from me and a very old one too here:
http://www.nynjmq.org/Triggering%20the%20right%20Java%20Environment.zip

Let's hope he'll be able to read and download this link...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
lerner
PostPosted: Fri Jun 15, 2012 2:54 am    Post subject: Reply with quote

Apprentice

Joined: 17 May 2012
Posts: 26

i know triggering a batch file.

i don't know how to trigger specific java class
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Jun 15, 2012 3:53 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

lerner wrote:
i know triggering a batch file.

i don't know how to trigger specific java class

Vitor wrote:
Have WMQ trigger the application that invokes the class?

_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 15, 2012 4:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lerner wrote:
i don't know how to trigger specific java class


You can't run a Java class.

You can only run a JVM.

A JVM can then run a Java class.

There is no JVM that is running as part of the queue manager already. You must start your own.
Back to top
View user's profile Send private message
lerner
PostPosted: Fri Jun 15, 2012 7:49 pm    Post subject: Reply with quote

Apprentice

Joined: 17 May 2012
Posts: 26

i got something from the old posts.pls tel me is this correct..

created application triggering to trigger a batch a file.

in that batch file code is

"java path(where the class file exists)"
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 15, 2012 8:14 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lerner wrote:
in that batch file code is

"java path(where the class file exists)"


This is a Java question not a WMQ question.

And if this matter is as urgent as your original post indicated, why are you asking? Why are you not just trying it? Or is that too much like work?
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Installation/Configuration Support » how to invoke Java class file from MQ using applctntriggerng
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.