|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Triggering a web server application |
« View previous topic :: View next topic » |
Author |
Message
|
gpklos |
Posted: Tue Sep 03, 2002 9:58 am Post subject: Triggering a web server application |
|
|
Centurion
Joined: 24 May 2002 Posts: 108
|
Without getting into the reasons why we wish to do what I'm going to explain, I was hoping to get some sort of solution. We are running MQ5.2 for os390. We plan to put some data on an os390 queue. Then we want to trigger an application. The problem is the application is executed by a web server. We can manually kick the application off by entering the correct URL, ie (http://system.psc.com/1981/start_app?parm=junk). The webserver takes it from here and runs a servlet. So how do we send the URL to the web server through an MQ process. We can't just specify the URL in the Process definition, or can we?? Is there some command or anything else for os390 that would allow us to do this from triggering?
Gary |
|
Back to top |
|
 |
bduncan |
Posted: Tue Sep 03, 2002 11:41 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
You can't specify the URL in the process definition directly, as you suspected. The simplest way I can think of to accomplish this would be to trigger a small application which opens a socket and sends the URL request to the webserver. Otherwise, you can make the servlet on the webserver MQ-aware, and have it watch the queue on the OS/390. When the message lands there, instead of having a trigger fire, the servlet will simply retrieve the message. This is the method I've used in the past... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|