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 mcd folder

Post new topic  Reply to topic
 JMS with mcd folder « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Wed Jul 20, 2005 12:41 pm    Post subject: JMS with mcd folder Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

How does a native JMS client application build an RFH2 header with the MessageSet, MessageType, Message Format and Domain set so the Broker can pick up the RFH2 header information. i have looked and cannot find and example. We need to have the MRM info coming in on the message.

bobbee
Back to top
View user's profile Send private message Send e-mail AIM Address
mlafleur
PostPosted: Wed Jul 20, 2005 1:37 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2004
Posts: 73

http://middleware.its.state.nc.us/middleware/Documentation/en_US/htm/csqzaw09/csqzaw094x.htm#HDRJMARGTR

When a JMS application creates a text or bytes message, the application can set mcd folder fields explicitly by calling the setJMSType method and passing in a string argument in a special URI format as follows:


mcd://domain/[set]/[type][?format=fmt]
Back to top
View user's profile Send private message
bobbee
PostPosted: Thu Jul 21, 2005 12:23 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Thanks Marc, that is exactly what I needed.

Interesting though we found something nice that while related to our issue is unrelated to the subject line.

The flow was trying to get the messages (multiple types on the same queue) validated against the MRM, but didin't know the message until after parsing it. The processing parsed the message, set the MSET, MTYPE and format fields and sent the message back to the same flow so the MQInput node could then apply vaidation according to the MRM.

So we figured if the sending app could set the RFH2 properly, validation would work on the message as the parser would have qualifing information.

Interesting. If you set the MQInput properties to a MessageSet, MRM and format of XML. It will search the MessageTypes in the MessageSet for a matching root element ifrom your incoming message. Once found it will validate (if so requested) against the MRM match. So as long as the root element is unique and all the messages received have MessageTypes in the same MessageSet. WBI will do the lookup and match.

NEET
Back to top
View user's profile Send private message Send e-mail AIM Address
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 mcd folder
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.