in META-INF/openejb-jar.xml:

<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1";>
  <ejb-deployment ejb-name="...">
    <properties>
      # quartz properties
    </properties>
  </ejb-deployment>
</openejb-jar>


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-09-04 16:17 GMT+02:00 tschuler <[email protected]>:
> Hi Romain!
>
> Can you provide a simple example how to add the quartz properties as 
> properties for the ejb-deployment?
>
> Best regards,
>                 Thomas
>
> Von: Romain Manni-Bucau [via TomEE & OpenEJB] 
> [mailto:[email protected]]
> Gesendet: Donnerstag, 4. September 2014 16:02
> An: Thomas Schuler
> Betreff: Re: Specific quartz scheduler for scheduled beans
>
> Hi
>
> once you configure quartz then all beans use a dedicated quartz config.
>
> You can have by bean configuration adding it in openejb-jar.xml in
> ejb-deployment properties.
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-04 15:53 GMT+02:00 tschuler <[hidden 
> email]</user/SendEmail.jtp?type=node&node=4671626&i=0>>:
>
>> Hi!
>>
>> We use TomEE 1.6.0.2.
>> We have a couple of scheduled beans and provide an own
>> application.properties (with scheduler MyScheduler) to get the according
>> quartz jobs persisted.
>> As we can see (asking the org.quartz.impl.StdSchedulerFactory) that both
>> MyScheduler and the TomEE default scheduler DefaultQuartzScheduler exist.
>>
>> Is there a way to get a scheduled bean to be handled by a specific
>> scheduler?
>> E.g. scheduled bean 1 should use MyScheduler, scheduled bean 2 should use
>> DefaultQuartzScheduler.
>>
>> Best regards,
>> Thomas
>>
>>
>>
>> --
>> View this message in context: 
>> http://tomee-openejb.979440.n4.nabble.com/Specific-quartz-scheduler-for-scheduled-beans-tp4671625.html
>> Sent from the TomEE Users mailing list archive at Nabble.com.
>
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
> http://tomee-openejb.979440.n4.nabble.com/Specific-quartz-scheduler-for-scheduled-beans-tp4671625p4671626.html
> To unsubscribe from Specific quartz scheduler for scheduled beans, click 
> here<http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4671625&code=dGhvbWFzLnNjaHVsZXJAb3BlbnRleHQuY29tfDQ2NzE2MjV8LTE4NTIyNTQ0OTI=>.
> NAML<http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Specific-quartz-scheduler-for-scheduled-beans-tp4671625p4671629.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to