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, a camel component or spring component or what? On Sun, Dec 19, 2021 at 7:19 PM Steve973 <[email protected]> wrote: > > 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) integration tests, and when it runs, it is not consuming from the > URI. What am I missing? > > Thanks, > Steve -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
