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 » Accessing BLOB message using Java Program

Post new topic  Reply to topic
 Accessing BLOB message using Java Program « View previous topic :: View next topic » 
Author Message
satyasheel15
PostPosted: Wed Jun 25, 2003 5:21 am    Post subject: Accessing BLOB message using Java Program Reply with quote

Voyager

Joined: 04 Mar 2003
Posts: 86

Hi ,

I want to access BLOB message using java program - using java plug in node. Can any body help me how to do this.
I can access XML messages succesfully using java program.

Thanks ...
Satyashel
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jefflowrey
PostPosted: Wed Jun 25, 2003 5:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Code:
MbElement rootElement = assembly.getMessage().getRootElement();
MbElement bodyElement = rootElement.getLastChild();
MbElement blobDataElement = bodyElement.getFirstElementByPath("./BLOB");

should work. That should be the same as "InputRoot.BLOB.BLOB". Then you'll need to figure out what you're doing with the data to determine how you want to retrieve getValue().
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing BLOB message using Java Program
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.