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 » General IBM MQ Support » Use MQ link from WAS to poll message from local queue

Post new topic  Reply to topic
 Use MQ link from WAS to poll message from local queue « View previous topic :: View next topic » 
Author Message
Adreno
PostPosted: Thu May 14, 2009 6:20 am    Post subject: Use MQ link from WAS to poll message from local queue Reply with quote

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
View user's profile Send private message
WMBDEV1
PostPosted: Thu May 14, 2009 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Adreno
PostPosted: Thu May 14, 2009 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
WMBDEV1
PostPosted: Thu May 14, 2009 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Adreno
PostPosted: Thu May 14, 2009 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
WMBDEV1
PostPosted: Thu May 14, 2009 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
fde
PostPosted: Thu May 14, 2009 8:12 am    Post subject: Reply with quote

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
View user's profile Send private message
WMBDEV1
PostPosted: Thu May 14, 2009 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message
fde
PostPosted: Thu May 14, 2009 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Adreno
PostPosted: Thu May 14, 2009 8:47 am    Post subject: Reply with quote

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
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 » General IBM MQ Support » Use MQ link from WAS to poll message from local queue
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.