|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Splitable message attribute |
« View previous topic :: View next topic » |
Author |
Message
|
fjb_saper |
Posted: Mon Dec 22, 2003 3:15 pm Post subject: Splitable message attribute |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Hi,
I am requested to send the message to Oracle with a splitable message attribute. I could not find a way to set this attribute in JMS. Standard Java allows for the MQC.xxx attributes.
How can I set this attribute in JMS
Thanks
F.J> |
|
Back to top |
|
 |
EddieA |
Posted: Mon Dec 22, 2003 4:32 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
splitable message attribute |
I'm doing to take a guess here and assume you mean Application Segmentation.
Don't think that's possible with JMS. Sorry.
Even if it were, I don't think the Oracle API would "re-build" the message for you.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 23, 2003 6:39 am Post subject: Splitable message attribute |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Eddie as always you are right on the money.
After some more research, I found out that it is possible but you have to take care of it from within the sending application. Set group id and sequence id. Set last in sequence flag. This is not just a simple config setting like my counterpart using the Oracle API wanted me to believe.
At least now I know I didn't miss anything obvious.
Thanks a lot.
F.J.  |
|
Back to top |
|
 |
viczi |
Posted: Thu Mar 25, 2004 6:34 am Post subject: |
|
|
Newbie
Joined: 14 Nov 2003 Posts: 2 Location: Hungary
|
Hi!
Could you paste a little code, how did you do it?
I can set the JMS_IBM_Last_Msg_In_Group
(message.setBooleanProperty("JMS_IBM_Last_Msg_In_Group", true);), but I cannot set the group and sequence id and last sequence from JMS. Plase help me, where can I set these properties.
Thanx,
Istvan |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 25, 2004 6:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
viczi wrote: |
Hi!
Could you paste a little code, how did you do it?
I can set the JMS_IBM_Last_Msg_In_Group
(message.setBooleanProperty("JMS_IBM_Last_Msg_In_Group", true) , but I cannot set the group and sequence id and last sequence from JMS. Plase help me, where can I set these properties.
|
Using Java wrote: |
JMSXGroupID to MQRFH2 (point-to-point)
For point-to-point messages, the JMSXGroupID is copied into the MQMD GroupID field. If the JMSXGroupID starts with the prefix ID:, it is converted into binary. Otherwise, it is encoded as a UTF8 string. The value is padded or truncated if necessary to a length of 24 bytes. The MQMF_MSG_IN_GROUP flag is set.
JMSXGroupSeq MQMD MsgSeqNumber (point-to-point)
For point-to-point messages, the JMSXGroupSeq is copied into the MQMD MsgSeqNumber field. The MQMF_MSG_IN_GROUP flag is set. |
But there doesn't seem to be anything for doing segmentation, only grouping. Which jibs with what EddieA said "Don't think that's possible with JMS." _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|