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 » copy MRM to XMLNSC

Post new topic  Reply to topic
 copy MRM to XMLNSC « View previous topic :: View next topic » 
Author Message
PEPERO
PostPosted: Sat May 10, 2014 5:59 am    Post subject: copy MRM to XMLNSC Reply with quote

Disciple

Joined: 30 May 2011
Posts: 177

Hi all;
i've an incomming structure which is a little diffrenet from the outgoing one within a JCN. The incomming Message is in the MRM domain and the outgoing one is in the XMLNSC. I've defined an element (Message_Bit_Map) with a default value in the outgoing message which i haven't it in the incomming message.
So when trying to copy the input message to the output message
Quote:

MbElement outXMLNSC = outRoot.createElementAsLastChild(MbXMLNSC.PARSER_NAME);
MbElement msgType = outXMLNSC.createElementAsLastChild(MbElement.TYPE_NAME,msgTypeName,null);
msgType.copyElementTree(inMRM);
// outXMLNSC.createElementAsFirstChild(MbElement.TYPE_NAME_VALUE,"Message_Bit_Map",0x64C000);



How could i have the default value set for element "Message_Bit_Map" in the message definition file when making the output message?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 10, 2014 9:32 am    Post subject: Reply with quote

Grand High Poobah

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

use a byte[] object to set the value?
_________________
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 » copy MRM to XMLNSC
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.