Author |
Message
|
Adreno |
Posted: Thu May 14, 2009 6:20 am Post subject: Use MQ link from WAS to poll message from local queue |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 71
|
Hey Dudes,
may you can help me with your experiences to figure out following problem:
I´m using MQ link to establish communication between WAS and an Queue manager and I´m not that deep in that. Actually the queue manager resides at one of our costumers sides and there are only relations between my jms queues and theses MQ qeues.
Now we want to set up one queue manager to be able to manage communictions on mq layer from our side. Actually there is a remote queue defined at costumers side that points directly to one of my jms queues, which then triggers a wps process. So customer pushes message to me.
When I get my queue manager messages will be send from costumers remote queue to a local queue at my queue manager and mq link will need to listen on that queue for active polling.
Does anyone know if mq link is able for that or if we need to set up triggering in any way? _________________ There are two kinds of people in this world: people who s***, and Chuck Norris... |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu May 14, 2009 6:33 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
The SIBUS of WAS looks just like another QM to MQ. You could just connect you customers QM to your WAS SIBUS (via a QM your side if desired).
You need to setup sender / receiver channels as per normal and your queues in WAS.
To receive the message you would normally implement a MDB which will have its onMessage method invoked whenever a message arrives on a particular queue. Polling is not required. |
|
Back to top |
|
 |
Adreno |
Posted: Thu May 14, 2009 6:56 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 71
|
Well this is the way it works today.
But with realizing our own queue manager, message will be send via remote queue from customers side into a local queue on our queue manager which then is connected to SIBUS of WAS.
How can we active poll messages from this local queue? We need to set up mechanism to transfer message from local queue to the jms queues.
How to do that? _________________ There are two kinds of people in this world: people who s***, and Chuck Norris... |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu May 14, 2009 7:22 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Adreno wrote: |
Well this is the way it works today. |
Im confused? Do you have the SIBUS (MQ to WAS virtual QM) working at the moment?
Quote: |
We need to set up mechanism to transfer message from local queue to the jms queues.
|
If you are trying to get the WAS SIB to connect to your QM then have a read of this....
http://www.ibm.com/developerworks/websphere/techjournal/0504_reinitz/0504_reinitz.html
It even talks about the MDB in there which will read the messages from the Queue, no polling needed. |
|
Back to top |
|
 |
Adreno |
Posted: Thu May 14, 2009 7:35 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 71
|
Well actually SIBUS is connected to our customers queue manager.
There are sender channels and reciever channels defined and im writing to an alias queue pointing to costumers local queue while they using a remote queue that ponits to on of our jms queues.
Therefore it is an active pushing from costumers side.
In future this active pushing will send messages to a local queue on a new queue manager. This new queue manager will then be connected to SIBUS and we need to poll actively from WAS side the message from this local mq queue.
Any suggestions how to do that? _________________ There are two kinds of people in this world: people who s***, and Chuck Norris... |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu May 14, 2009 7:45 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Right....
So instead of having a new local queue on your new QM, why dont you make this a remote q pointing to your WAS Q (exactly the same sort of setup used at the moment but the with extra hop of your new QM)? or not? |
|
Back to top |
|
 |
fde |
Posted: Thu May 14, 2009 8:12 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 65
|
MQ Binding from within a Mediation is able to poll a message queue. If the mediation is stopped, messages will arrive in the queue and will be processed if the mediation starts.
In my opinion MQ Link is not able to poll a queue. So using MQ Link, a remote MQ-Series queue would send the message to the MQ-Link receiver. If the processing application or the application server is not started, the MQ-Link receiver is not able to receive the message and MQ-Server would move the message to the dead letter queue.
To decouple the message receiving from the processing, MQ-Binding could poll a destination, where MQ-Link is dependent on receiving the message from an active partner who pushes the message to the link-receiver.
Is this correct? Did I miss a feature of MQ-Link? _________________ Global warming is an unintentional side effect of SOA's hotness.
-- http://soafacts.com/
a business integration methodology |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu May 14, 2009 8:24 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
fde wrote: |
In my opinion MQ Link is not able to poll a queue. So using MQ Link, a remote MQ-Series queue would send the message to the MQ-Link receiver. If the processing application or the application server is not started, the MQ-Link receiver is not able to receive the message and MQ-Server would move the message to the dead letter queue.
|
Wouldnt it sit in a trans q rather than going to the DLQ? |
|
Back to top |
|
 |
fde |
Posted: Thu May 14, 2009 8:45 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 65
|
WMBDEV1 wrote: |
Wouldnt it sit in a trans q rather than going to the DLQ? |
You are right. If the appserver starts and mq-link becomes avaiable the messages from the transmitqueue would be transmitted to mq-link and processed. _________________ Global warming is an unintentional side effect of SOA's hotness.
-- http://soafacts.com/
a business integration methodology |
|
Back to top |
|
 |
Adreno |
Posted: Thu May 14, 2009 8:47 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 71
|
Right . . . tanks so far . . . _________________ There are two kinds of people in this world: people who s***, and Chuck Norris... |
|
Back to top |
|
 |
|