Hi,

simplifying my camel context is:

<camelContext id="camel-route"
xmlns="http://camel.apache.org/schema/spring";>
   <route>
      <camel:from
uri="cxfrs:/exchange2?resourceClasses=thePackage.ExchangeServiceResource" />
      <camel:log message="REQUEST RECEIVED" />
   </route>
</camelContext>

I think that before the execution of the log message, the @Bean method in
the service rest definition must be executed, is this right?

kindest regards


--
View this message in context: 
http://camel.465427.n5.nabble.com/Bean-annotation-in-REST-service-definition-tp5140117p5140259.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to