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 » Search

 Search found 5 matches
Author Message
  Topic: Working with JMS messages using JavaCompute
Natalya V.S.

Replies: 11
Views: 8546

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Aug 17, 2006 5:22 am   Subject: Working with JMS messages using JavaCompute
Thank you!
It was the problem with jms sender program, and now "payload=inMessage.getBuffer()"
returns all the message with it's content and headers.
but my tries to deserialize it don't work((
Bu ...
  Topic: Working with JMS messages using JavaCompute
Natalya V.S.

Replies: 11
Views: 8546

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Aug 17, 2006 3:13 am   Subject: Working with JMS messages using JavaCompute
Ooh...

if I use
byte[] payload=(byte[])(blob.getValue());

payload becomes null.
if I use "payload=blob.toBitStream(..)", payload is empty/

if I use "payload=inMessage.getBuffer()", payload ...
  Topic: Working with JMS messages using JavaCompute
Natalya V.S.

Replies: 11
Views: 8546

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Aug 17, 2006 2:15 am   Subject: Working with JMS messages using JavaCompute
Thanks,

Do you mean something like this?
"
try
{
MbMessage inMessage = contact admin.getMessage();
MbElement root=inMessage.getRootElement();
MbElement blob = root.getFirstElementByPath("/ ...
  Topic: Working with JMS messages using JavaCompute
Natalya V.S.

Replies: 11
Views: 8546

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed Aug 16, 2006 12:05 am   Subject: Working with JMS messages using JavaCompute
Yes, "import javax.jms.*;" works.
But I had to a kind a little another problem.
Maybe it'silly question, but I don't know how to transform MbMessage to javax.jms.Message inside Java code in JavaCom ...
  Topic: Working with JMS messages using JavaCompute
Natalya V.S.

Replies: 11
Views: 8546

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Aug 15, 2006 5:14 am   Subject: Working with JMS messages using JavaCompute
Hello all:)

I have a message flow like

JMSInput ->JavaCompute ->JMSOutput.

How can I use package javax.jms in a JavaCompute Node?
Or I can use only MbMessage class for parsing incomin ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.