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 » Mainframe, CICS, TXSeries » shared queue z/OS Message Broker

Post new topic  Reply to topic
 shared queue z/OS Message Broker « View previous topic :: View next topic » 
Author Message
MQIBM
PostPosted: Thu Aug 04, 2011 8:29 pm    Post subject: shared queue z/OS Message Broker Reply with quote

Newbie

Joined: 04 Aug 2011
Posts: 9

Greetings,

I am looking for pattern or existing framework/sample code for Message Broker that use shared queue z/OS.

I think the way Message Broker code should be different because shared queue. Example, need to identify which queue it belong to (cant possible hard code at MQInput).

I need Mentor MQ and Message Broker here to give advice/sharing. Mr Google can't help much, sob
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Aug 04, 2011 9:29 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

WMQ for z/OS shared-queues provide high-availability that is transparent to applications. Whether a queue is local or shared, application code doesn't change in any way.

Refer to the WMQ for z/OS Concepts and Planning manual.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
MQIBM
PostPosted: Thu Aug 04, 2011 9:38 pm    Post subject: Reply with quote

Newbie

Joined: 04 Aug 2011
Posts: 9

Maybe I give example.
Citibank has 1 shared queue name "QueueForAll". In this "QueueForAll", Finance , Marketing, Corporate MQ application use it.

As WMB, how do they know which message belong to Finance/Marketing/Corporate as 3 MQ application is using "QueueForAll" queue.

I need real example/pattern or experience how WMB handle shared queue.

Thank you.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 05, 2011 3:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You appear to be using two entirely separate notions for the phrase "shared queue".

On zOS, a "shared queue" is a queue that exists on more than one queue manager, but has a single message store - such that all messages are available to be gotten from any one of the queue managers in the queue sharing group.

You are also using "shared queue" to mean "more than one application puts data of different formats intended for different destination applications onto the same queue".

Message Broker will have no idea that a given queue that it is reading using an MQInput node is a zOS shared queue - it will get whatever messages it can as if there were no other instances of the shared queue anywhere else.

Message Broker can be programmed to understand the contents of a given MQ message, and parse it, and then use business logic to determine which destination application or processing needs to receive the contents of that message.

But nobody can give you anything more than a simple example of how to do that - without you paying them to solve the problem or train you - and the *samples* that come with message broker Toolkit already give you a simple example.

I doubt your employer wanted you to name them here.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Aug 05, 2011 6:49 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

MQIBM wrote:
Maybe I give example.
Citibank has 1 shared queue name "QueueForAll". In this "QueueForAll", Finance , Marketing, Corporate MQ application use it.

As WMB, how do they know which message belong to Finance/Marketing/Corporate as 3 MQ application is using "QueueForAll" queue.

I need real example/pattern or experience how WMB handle shared queue.

Thank you.

This is one of those best-practice thingies.

Usually, separate queues are used for separate application types. Usually, payroll time cards are NOT found in a queue with inventory updates.

An application (WMB or other) can only know the source of a message by the message content (MQMD and application data). The MQMD will usually identify the name of the application program that created the message. Usually, time card messages contain data that is different from inventory message data.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Aug 05, 2011 8:07 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Look at the routing patterns
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » shared queue z/OS Message Broker
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.