If you want to use Mock endpoint to validate the message, you just need to create the route rule like this

from("CosumerA.Virtual.Topic").to("mock:endpoint");

You don't need to create the MDP yourself.

Willem

Mick Knutson wrote:
I finally got a working JUnit test that creates a MDP, subscribes to a AMQ
Virtual Topic, and receives a message. But now that the MDP gets the message
I am having an issue validating that message.

How can I re-route this message to a MOCK just for testing purposes?

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---


Reply via email to