Wanna raise a JIRA and provide a patch ;-)
As I said, a basic implementation should be quite easy to write,
as you just need to implement one method ...
On 1/31/07, wizard <[EMAIL PROTECTED]> wrote:
Yes, that's the point!
<eip:dynamic-router service="xxx" endpoint="yyy"
xpathService="/@target" />
would define a dynamic-router at service "xxx" / endpoint "yyy", that would
call the explicit service in target.
gnodet wrote:
>
> Yeah, good idea.
> I think the best way to do that it to implement a new dynamic router
> (inheriting from AbstractContentBasedRouter should be quite easy).
> You could use it this way:
>
> <eip:dynamic-router service="xxx" endpoint="yyy"
> xpathService="/@target" />
>
> then, a request containing the following xml:
> <request target="ns:myService" />
>
> would be routed to the ns:myService service.
> Is that what you are talking about ?
>
> On 1/31/07, wizard <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> I was looking at the eip-component, and I find it quite useful as a
>> router.
>> I think there is a small limitation in it's usage (or I'm getting it
>> wrong):
>> the routing is always static(?). I'm looking for a router that would read
>> a
>> XML element (via XPATH, like eip does), and then use that String value to
>> call a JBI service with that name. Of couse, the service name would be
>> declared in the incoming XML. The usage? Clients could call new JBI
>> services
>> without changing anything in the eip-component.
>>
>> Is this possible? Or not eip-component purpose at all?
>> --
>> View this message in context:
>> http://www.nabble.com/eip-component-tf3148408s12049.html#a8727943
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context:
http://www.nabble.com/eip-component-tf3148408s12049.html#a8728363
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/