On 27/11/2007, Justin Stewart <[EMAIL PROTECTED]> wrote:
> Thanks, James.  I think that helps.
>
> If I understand correctly, I should just use
> from("jbi:service:urn:MyService") - and I get everything that folks send to
> that URI.  Which is the same way ServiceMix works in the first place.  Sound
> right?

Yes, sounds right to me.

BTW if some service is incorrectly sending to a wrong endpoint such as
"jbi:service:urn:Foo" (since it was hard coded and not easy to change
or whatnot) its easy to add an extra route (as a stand alone routing
rule, or inside any other spring XML) to redirect to where you need...

from("jbi:service:urn:Foo").to("jbi:service:urn:MyService");

in a single line of easy-to-grok code.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to