Sure, but that is the way defaults work.

On 14/09/2014 18:53, Romain Manni-Bucau wrote:
depend but I think to the case: all but one ;)


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


2014-09-14 18:52 GMT+02:00 Andy Gumbrecht <[email protected]>:
It's not really an issue as that makes perfect sense.
If some property is declared as 'global' that is not actually global then it
makes no sense for it to be declared as global?

Only declare that default property for the beans that need it as a default.

Andy.


On 04/09/2014 16:43, tschuler wrote:
Hi Romain!

Great.
But the problem I face know:
The properties - if exist by default, are overwritten.
But if a property exists by default that must not exist for the bean
specific configuration ...
Is there a way to "remove" a property?

Best regards,
                  Thomas


Von: Romain Manni-Bucau [via TomEE & OpenEJB]
[mailto:[email protected]]
Gesendet: Donnerstag, 4. September 2014 16:29
An: Thomas Schuler
Betreff: Re: Specific quartz scheduler for scheduled beans

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 <[hidden
email]</user/SendEmail.jtp?type=node&node=4671631&i=0>>:

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:[hidden
email]</user/SendEmail.jtp?type=node&node=4671631&i=1>]
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<

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.
________________________________
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-tp4671625p4671631.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-tp4671625p4671638.html
Sent from the TomEE Users mailing list archive at Nabble.com.



Reply via email to