Author |
Message
|
lerner |
Posted: Thu Jun 14, 2012 9:57 am Post subject: how to invoke Java class file from MQ using applctntriggerng |
|
|
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 |
|
 |
Vitor |
Posted: Thu Jun 14, 2012 10:09 am Post subject: Re: how to invoke Java class file from MQ using applctntrigg |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Jun 14, 2012 7:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
lerner |
Posted: Fri Jun 15, 2012 2:54 am Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Fri Jun 15, 2012 3:53 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Fri Jun 15, 2012 4:02 am Post subject: |
|
|
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 |
|
 |
lerner |
Posted: Fri Jun 15, 2012 7:49 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jun 15, 2012 8:14 pm Post subject: |
|
|
 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 |
|
 |
|