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 IndexWebSphere Message Broker SupportRead text message through java compute node

Post new topicReply to topic
Read text message through java compute node View previous topic :: View next topic
Author Message
aishwaryat
PostPosted: Thu Dec 08, 2016 2:39 am Post subject: Read text message through java compute node Reply with quote

Newbie

Joined: 08 Dec 2016
Posts: 2

I'm new to IIB. I'm trying to read the text message ( plain text ) from input file node and transferring to mq output node. In between I want to modify the text using Java Compute Node. How to achieve the following.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 08, 2016 5:12 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Read the message.

Use a parser to turn it into a logical message tree.

Use a JavaCompute node to transform the logical message tree into the one you need to send.

Send the logical message tree to an MQOutput node.

All of these steps are demonstrated in the samples/tutorials that come with the product.

All of these steps are basic, and easy to test on your own.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 08, 2016 5:16 am Post subject: Re: Read text message through java compute node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26077
Location: Texas, USA

aishwaryat wrote:
In between I want to modify the text using Java Compute Node.


By writing code.

aishwaryat wrote:
How to achieve the following.


This is another way of asking "how do I use IIB?"

We don't provide training, and that's what you need.

In addition to figuring out writing code (which isn't the same as writing Java running under WAS, the environment is different), you need to figure out how the FileInput node is handing the input text (hint: you should model it with DFDL; if it's pure free form text that can't be modeled, you're in the wrong product) and how to explain to the MQOutput node how the serialization into the queue is supposed to work.

That's before we get to non-functional requirements like error handling, any logging or auditing, file handling, queue handling, etc.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportRead text message through java compute node
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.