|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to make a message on a queue trigger a VB Component |
« View previous topic :: View next topic » |
Author |
Message
|
asajnani |
Posted: Tue Mar 05, 2002 11:24 am Post subject: |
|
|
Novice
Joined: 04 Mar 2002 Posts: 21
|
I have a Power Builder front end, which puts a message on the IBM queue. This message on a queue should be picked up by a Visual Basic component. The message on the queue can trigger the Visual Basic component or the Visual Basic component can check the queue for a message. The Visual Basic component will perform certain calculations and place a message back on the queue so the Power Builder front end can receive it. Right now, I don’t know how to make a message on the queue triggers the Visual Basic component and placing the result message on the queue. The MQ Server is on a Windows NT Server.
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Mar 05, 2002 12:25 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I'm gonna assume your VB app is on the same server as the MQSeries queue manager.
1. Define a process (call it PROCESS1 or something). In the ApplID field put in the path to where your app lives (C:MyVBApp.exe).
2. Let's say the queue that will trigger your app is called Q1. Q1 should have it's triggering turned on, probably to Trigger first. Also, it should have it's initiation queue parameter filled in (let's call it INIT.QUEUE). Also, you should fill in it's Processname parameter to whatever you called your process in step 1
3. Start the trigger monitor, specifying INIT.QUEUE.
4. Drop a message to Q1, which will cause the QM to drop a trigger message to INIT.QUEUE, which will cause the trigger monitor to start PROCESS1, which will start your VB app.
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
asajnani |
Posted: Wed Mar 06, 2002 9:54 am Post subject: |
|
|
Novice
Joined: 04 Mar 2002 Posts: 21
|
How would I handle the parameters sent by the PB front end to the queue which need to be passed on the vb app and when the vb app does process it needs to send a result string back to the front end.....Would I put that message on the reply queue...
Thanks Anant |
|
Back to top |
|
 |
asajnani |
Posted: Wed Mar 06, 2002 9:55 am Post subject: |
|
|
Novice
Joined: 04 Mar 2002 Posts: 21
|
Thanks a lot for your help............... |
|
Back to top |
|
 |
javiergvs |
Posted: Fri Aug 30, 2002 3:07 pm Post subject: Power Builder and MQSeries |
|
|
Newbie
Joined: 30 Aug 2002 Posts: 2
|
I have a application in Power Builder, How conect to MQSeries directly? |
|
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
|
|
|
|