« Return to Thread: Upgrade Mule 2.0.3 to 2.1.0 SimpleRetryConnectionStrategy jms

Re: Upgrade Mule 2.0.3 to 2.1.0 SimpleRetryConnectionStrategy jms

by Travis Carlson-2 :: Rate this Message:

Reply to Author | View in Thread

Correct again!

That line was wrong, it and the section below it in JMSConnector have
been recently removed.  I suggest you try using the 2.1.1-SNAPSHOT:

http://snapshots.dist.codehaus.org/mule/org/mule/distributions/mule-full/2.1.1-SNAPSHOT/

Travis

On Sun, 2008-10-12 at 05:23 -0700, NiHeitz wrote:

> I understand. However, it looks to me like retryPolicy won't work
> (unless the Enterprise codebase is significantly different to the
> community) as I've just found the following line in JMSConnector:
> if (recoverJmsConnections && getRetryPolicyTemplate() instanceof
> NoRetryPolicyTemplate && connection != null) { ...go on and register
> exception listener... }
> This suggests to me that only instances of NoRetryPolicyTemplate get
> Exception callbacks when the JMS broker fails during runtime. You can
> imagine my concern as I tried to implement my own retryPolicy...
> Luckily it looks like I can extend NoRetryPolicyTemplate, however
> non-intuitive that might be. Is the above instance check doing
> something else I should be aware of?
> Nick Heitz
>         Travis Carlson-2 wrote:
>         You are correct, I have just added the folllowing section to
>         http://mule.mulesource.org/display/MULE2INTRO/Migrating+Mule
>         +2.0+to+2.1 explaining this. Retry Policies (ex-Reconnection
>         Strategies) ------------------------------------------- Due to
>         some fundamental issues with the previous implementation of
>         Reconnection Strategies, these have now been redesigned and
>         renamed to "Retry Policies". The API for implementing retry
>         policies is available in org.mule.api.retry and related
>         classes in org.mule.retry Mule Enterprise includes common
>         retry policies which can be configured in your XML (e.g., )
>         but Mule Community users will need to implement their own
>         based on org.mule.retry.policies.AbstractPolicyTemplate Travis
>
>
> ______________________________________________________________________
> View this message in context: Re: Upgrade Mule 2.0.3 to 2.1.0
> SimpleRetryConnectionStrategy jms
> Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Upgrade Mule 2.0.3 to 2.1.0 SimpleRetryConnectionStrategy jms