s.getName' work? What are the
> limitations in allowed return types of a method?
>
AFAIR the methods from java.lang.Object is omitted by Camel.
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p
thod?
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313626.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ethods
> returning String from base classes works fine.
>
> Is there any way around this limitation? Do I need to tell 'Simple' what
> type is returned from getClass?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-
sor method on my class and then the route
> works. It only seem because the getClass is an inherited method, or maybe
> because it doesnt return a string but that is not what the exception states.
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routi
m getClass?
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313604.html
Sent from the Camel - Users mailing list archive at Nabble.com.
or method on my class and then the route
works. It only seem because the getClass is an inherited method, or maybe
because it doesnt return a string but that is not what the exception states.
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-bo
same solution: http://camel.apache.org/content-based-router.html
2011/4/19 Gert Villemos
> ... and if I'm using the Spring annotation, i.e. XML?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp
... and if I'm using the Spring annotation, i.e. XML?
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313325.html
Sent from the Camel - Users mailing list archive at Nabble.com.
de
> and hoped that this was possible by default Camel.
>
> Is it?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313282.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
then route based on this header field. I just hate creating redundant code
and hoped that this was possible by default Camel.
Is it?
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313282.html
Sent from the Camel - Use
10 matches
Mail list logo