1 Reply Latest reply on Aug 19, 2013 1:34 PM by kcbabo

    @Schedule

    heinzwiesenbuehl

      Hi all

       

      Can a pure java.ejb.Schedule (EE 6) participate in a Camel route?

       

      Can such a thing also be a Switchyard Service?

       

      Danke!

       

      Heinz

        • 1. Re: @Schedule
          kcbabo

          Can you provide an example of what the Schedule instance would be used for?  Reason I ask is that there are several ways you might choose to integrate scheduling capability with your SY app.  There is already a quartz-based scheduler available for triggering services.  I haven't tried it, but in theory you should be able to consume a SwitchYard service from a bean annotated with @Schedule.  Ditto for including @Schedule on a bean that already has @Service, although this is the same capability that's already provided by schedule bindings.