Author |
Message
|
PEPERO |
Posted: Thu Jun 30, 2011 1:04 am Post subject: JMS with WMB |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Jun 30, 2011 1:33 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Thu Jun 30, 2011 4:03 am Post subject: |
|
|
 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 |
|
 |
PEPERO |
Posted: Fri Jul 01, 2011 7:22 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Jul 01, 2011 9:23 pm Post subject: |
|
|
 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 |
|
 |
PEPERO |
Posted: Sat Jul 02, 2011 12:17 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Sat Jul 02, 2011 12:46 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Sat Jul 02, 2011 4:30 am Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Sat Jul 02, 2011 7:12 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Sat Jul 02, 2011 10:45 am Post subject: |
|
|
 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 |
|
 |
|