Author |
Message
|
alchando |
Posted: Thu Jul 23, 2015 5:53 am Post subject: Get message body from recorded messages with Integration API |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Jul 23, 2015 6:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You mean, you want to replay them? |
|
Back to top |
|
 |
alchando |
Posted: Thu Jul 23, 2015 6:13 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Jul 23, 2015 6:18 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
and you're writing this yourself, because? |
|
Back to top |
|
 |
alchando |
Posted: Thu Jul 23, 2015 6:22 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Jul 23, 2015 6:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
|