Using InOnly event message with vm component.

Solution Verified - Updated -

Issue

  • When a route sends an inOnly event message to a vm endpoint, the response is not marshalled to JSON in the route that sends the event message.
  • The "Accept" header is set to application/json in PostMan. I'd expect the response to be JSON 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content