Hi, Claus. Thanks for the reply, and apologies for any ambiguity in my
previous email. This is the dynamic router component that I am writing. I
got this test working by extending CamelTestSupport in my @CamelSpringTest
class. I am not sure which particular magic of the CamelTestSupport class
m
Hi
It depends how this bean is created - as it needs to be created either
by camel or spring to kick in the bean post processor that scans for
those annotations.
If the bean is created via new XXX or some other way then this does not happen.
And when you say component class not sure what that is,
Hello. I have a component class that includes a method that is annotated
with @Consume. In tests, if I manually wire things up, and then invoke a
bean post processor, it does indeed consume from the URI obtained from the
specified property. However, I am writing some Spring XML (not spring
boot)