While testing routes with ProducerTemplate, expectedPropertyReceived method aren't computing expected values correclty in JBoss Fuse 6

Solution Verified - Updated -

Issue

  • We need to send custom properties to a direct route, but the property is not being propagated by the sender to the route.
  • While doing Camel Route tests, setting properties to the exchange and then verifying via MockEndpoint.expectedPropertyReceived, the results weren't what was expected.

Environment

  • Red Hat JBoss Fuse
    • 6.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.