Re: Should camel extend the way of custom logical of camel route?

2011-11-08 Thread xuhb
t :) > > > - Original Message - > From: "Willem Jiang" > To: > Cc: "xuhb" > Sent: Tuesday, November 08, 2011 4:02 PM > Subject: Re: Should camel extend the way of custom logical of camel route? > > >> On Tue Nov 8 14:37:59 2011, xuhb w

Re: Should camel extend the way of custom logical of camel route?

2011-11-08 Thread xuhb
ample(query user-info example , which illustrated in previous mail) while using injected endpoint with bean; The diffcult is how to deal with the dynamic address in bean. > Then you can do what you want with it :) - Original Message - From: "Willem Jiang" To: Cc: "

Re: Should camel extend the way of custom logical of camel route?

2011-11-07 Thread xuhb
#x27;s only so much we can provide out of the box. > > Cheers, > Hadrian > > [1] http://camel.apache.org/loop.html > > > > On 11/07/2011 10:09 PM, xuhb wrote: >> Thanks Willem: >> It seems the intercept is a extension of interceptor which enable user

Re: Should camel extend the way of custom logical of camel route?

2011-11-07 Thread xuhb
with Intercept[1]. > > [1]http://camel.apache.org/intercept.html > > On 11/7/11 1:51 PM, xuhb wrote: >> When the application's execution logic is sophisticate , we can using >> endpoint and java bean to define a custom logic ; >> >> Here is a

Re: Writing own Camel Components

2011-11-06 Thread xuhb
You should make sure your component has been registed in Camel's registry with the name same as the uri's prefix; for example: given a uri as "aaa:bbb?para=...", you must make sure your component has registed with the name "aaa"; camel provide several mechanism to regist component, if you