Using InOnly event message with vm component.
Issue
- When a route sends an
inOnly
event message to a vm endpoint, the response is not marshalled toJSON
in the route that sends the event message. - The "Accept" header is set to
application/json
inPostMan
. I'd expect the response to beJSON
as well. - To reproduce send the following to http://localhost:9191/status/blocked and observe the response.
{
"reason_code" :"sadf",
"reason_description" : "123"
}
- Now comment the inOnly line, And you'll get an empty json object response.
<!-- Comment/uncomment line below -->
<inOnly uri="vm:submit" />
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.