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 » IBM MQ Java / JMS » Get message body from recorded messages with Integration API

Post new topic  Reply to topic
 Get message body from recorded messages with Integration API « View previous topic :: View next topic » 
Author Message
alchando
PostPosted: Thu Jul 23, 2015 5:53 am    Post subject: Get message body from recorded messages with Integration API Reply with quote

Newbie

Joined: 23 Jul 2015
Posts: 7

Hello,

im am using the Integration APi in IIB 10.

I used the record and replay function to record messages in a database.
I want to reuse the messages for Unit-testing my messageflow, for that i need the message from the database.

is there a way to get the recorded message which is stored in the database so i can run the messageflow with the Integration API with inject and record and finally compare the value from the database and the recorded message from the "inject and record"-run?

Thanks,
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 23, 2015 6:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You mean, you want to replay them?
Back to top
View user's profile Send private message
alchando
PostPosted: Thu Jul 23, 2015 6:13 am    Post subject: Reply with quote

Newbie

Joined: 23 Jul 2015
Posts: 7

I want to get the message which invokes the messageflow and send the message again to the same messageflow. Afterwards i want to compare the message at a certain point of the messageflow with a message that is also stored in the table WMB_MSGS.

Therefore i want to get the Data field from the WMB_BINARY_DATA table, when i have the WMB_MSGKEY.

With the Restful-API it´s easy to get the data via
/apiv1/data/datacapture/{dataStoreName}/{msgId}

But how can i get this field via the Integration API?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 23, 2015 6:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

and you're writing this yourself, because?
Back to top
View user's profile Send private message
alchando
PostPosted: Thu Jul 23, 2015 6:22 am    Post subject: Reply with quote

Newbie

Joined: 23 Jul 2015
Posts: 7

Because i want to automate the tests for my application and write unit-tests for it
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 23, 2015 6:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://www-01.ibm.com/support/knowledgecenter/SSMKHH_9.0.0/com.ibm.etools.mft.doc/bj23680_.htm

http://www.mqseries.net/phpBB2/viewtopic.php?t=70476
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 » IBM MQ Java / JMS » Get message body from recorded messages with Integration API
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.