Author |
Message |
Topic: How can I get XML format string from MBElement Object |
tonytang
Replies: 2 Views: 2988
|
Forum: WebSphere Message Broker (ACE) Support Posted: Sun Nov 06, 2011 6:52 pm Subject: How can I get XML format string from MBElement Object |
Looked for an asbitstream function/method?
Yes I got it :
use toBitstream(null, null, "XMLNSC", 0, 0, 0);
Than I get the xml .
Thanks! |
Topic: How can I get XML format string from MBElement Object |
tonytang
Replies: 2 Views: 2988
|
Forum: WebSphere Message Broker (ACE) Support Posted: Sun Nov 06, 2011 6:28 pm Subject: How can I get XML format string from MBElement Object |
I have I question about How to get the entire XML message(I means the string value as XML format) in Java compute node.
This is the message I send to MQ:
<?xml version="1.0" encoding= ... |
Topic: JMS InputNode How to get javax.jms.Message |
tonytang
Replies: 8 Views: 4917
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Nov 02, 2011 6:32 am Subject: JMS InputNode How to get javax.jms.Message |
exactly!
Thanks |
Topic: JMS InputNode How to get javax.jms.Message |
tonytang
Replies: 8 Views: 4917
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Nov 02, 2011 6:18 am Subject: JMS InputNode How to get javax.jms.Message |
And then STOP USING ObjectMessages. They are a bad idea.
WHY?
In our system we want to use MQ to communicate with other system, but in our system, between project we want to use JMS, so in this ... |
Topic: JMS InputNode How to get javax.jms.Message |
tonytang
Replies: 8 Views: 4917
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Nov 02, 2011 5:45 am Subject: JMS InputNode How to get javax.jms.Message |
First, is is much better not to pass Java objects around, as you create dependencies.
Secondly, the MB project and java project should be deployed in the standard manner, in a BAR.
B.T.W , Fir ... |
Topic: JMS InputNode How to get javax.jms.Message |
tonytang
Replies: 8 Views: 4917
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Nov 02, 2011 5:41 am Subject: JMS InputNode How to get javax.jms.Message |
Yes, I log The BLOB
But still can not de-serialized to a JAVA object.
How to pass the BLOB-element to javax.jms.Message? |
Topic: JMS InputNode How to get javax.jms.Message |
tonytang
Replies: 8 Views: 4917
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Nov 01, 2011 11:56 pm Subject: JMS InputNode How to get javax.jms.Message |
Hello all:)
I have a message flow like
JMSInput ->JavaCompute ->JMSOutput.
How can I get javax.jms.message in the JavaCompute node?
First I have set the parser of JMSInput to BLOB ... |