Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Testing a route that set a CamelJmsDestinationName header

$
0
0
Hi,

I have the following camel route (in blueprint):

where myProcessor is a Camel Processor that set the CamelJmsDestinationName
header in the message depending on some content in the message body.

It's simple, and it works when I deploy it (into Fuse ESB).

But I want to write a test for this route (extending
CamelBlueprintTestSupport), and I'm struggling. Mocking the endpoint doesn't
seem work, neither does using NotifyBuilder.

Does anyone have a suggestion please?

Viewing all articles
Browse latest Browse all 5648

Trending Articles