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 » WebSphere Message Broker (ACE) Support » JMS with WMB

Post new topic  Reply to topic
 JMS with WMB « View previous topic :: View next topic » 
Author Message
PEPERO
PostPosted: Thu Jun 30, 2011 1:04 am    Post subject: JMS with WMB Reply with quote

Disciple

Joined: 30 May 2011
Posts: 177

Hi;
I want to go to send a message using The JMS protocol to the WMB which is then going to be routed to the CICS.
There are so many cilents which would be sent using such type of message flow in different execution groups . I want to know that what would be the best architecture to implement the JMS server to keep the performance of the message handling when the high volume of the messages are to be serviced.
Do i need a provider in the client side with the sun system messgae queue Enterprise Edition and a provider in the server side with the WMB under a JMS server?
what is the best selection for the JMS server?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 30, 2011 1:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There is no best selection for the JMS server.

There may, possibly, be a best selection for a JMS server for your situation. But you haven't explained properly to get any help.

If you asked 20 or 30 Message Broker/CICS experts (and you have, btw) how they would get a message from Message Broker to CICS, the first response from none of them would be "JMS". It would always be "Using MQ.".

So, really. Stop thinking about JMS and just use MQ.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 30, 2011 4:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Stop thinking about JMS and just use MQ.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PEPERO
PostPosted: Fri Jul 01, 2011 7:22 pm    Post subject: Reply with quote

Disciple

Joined: 30 May 2011
Posts: 177

So if i could get your idea, you mean that the client should send a JMS message to the broker under Websphere MQ JMS provider then i've to convert the JMS message to an MQ messgae through the JMSMQTransform node and finally it could be routed to the CICS through the CICSRequest node.
Is it ok?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 01, 2011 9:23 pm    Post subject: Reply with quote

Grand High Poobah

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

PEPERO wrote:
So if i could get your idea, you mean that the client should send a JMS message to the broker under Websphere MQ JMS provider then i've to convert the JMS message to an MQ messgae through the JMSMQTransform node and finally it could be routed to the CICS through the CICSRequest node.
Is it ok?

No you're reinventing the wheel here.
Have the client send a message using the WMQ JMS provider and specifying (if warranted) the targetClient to be MQ. The broker then reads the message with an MQInput node. How you route to CICS is then up to site standards...We just use MQ and have the message triggered in CICS.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PEPERO
PostPosted: Sat Jul 02, 2011 12:17 am    Post subject: Reply with quote

Disciple

Joined: 30 May 2011
Posts: 177

But shouldn't the message header be converted from the JMS message tree to the MQMD/RFH2 message tree or it would be converted when the JMS message arrives at the local queue on the WMQ JMS provider automatically?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sat Jul 02, 2011 12:46 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

A JMS message using WMQ as the transport is:-

A MQMD Header - format= 'MQHRF2 '
An RFH2 Header with a valid JMS Folder.
The mesage body.

So to 'convert' the message into something that CICS might not object to, the following would/might be a good start.

Code:

   Set OutputRoot.Properties  = InputRoot.Properties;
   Set OutputRoot.MQMD        = InputRoot.MQMD;
   Set OutputRoot.Body        = InputRoot.Body;
   Set OutputRoot.MQMD.Format = 'MQSTR  ';

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jul 02, 2011 4:30 am    Post subject: Reply with quote

Grand High Poobah

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

smdavies99 wrote:
A JMS message using WMQ as the transport is:-

A MQMD Header - format= 'MQHRF2 '
An RFH2 Header with a valid JMS Folder.
The mesage body.

So to 'convert' the message into something that CICS might not object to, the following would/might be a good start.

Code:

   Set OutputRoot.Properties  = InputRoot.Properties;
   Set OutputRoot.MQMD        = InputRoot.MQMD;
   Set OutputRoot.Body        = InputRoot.Body;
   Set OutputRoot.MQMD.Format = 'MQSTR  ';


No need for all this if you set the targetClient on the Destination.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Sat Jul 02, 2011 7:12 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

fjb_saper wrote:


No need for all this if you set the targetClient on the Destination.


you are perfectly correct. I was merely trying to show the OP what a JMS message is under the hood. In my experience of working with Java devs recently this stuff is well outsode their comfort zone.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jul 02, 2011 10:45 am    Post subject: Reply with quote

Grand High Poobah

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

Let me translate this: "A lot on very little knowledge, needed now, and no time for the requisite research, (including google)"

Well the employers will have to realize that either they pay for education or take necessary delays into account, including poor show and poor performance...
_________________
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 » WebSphere Message Broker (ACE) Support » JMS with WMB
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.