« Return to Thread: JMS + SimpleRetryConnectionStrategy +JNDI +OracleJMS ... not working

Re: JMS + SimpleRetryConnectionStrategy +JNDI +OracleJMS ... not working

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View in Thread

The java.lang.reflect. Proxy can decorate the context factory and context classes (they both have interfaces) and delegate to the original class. This is effectively an around advice.

The way clients see it, it's still original class.

When such proxy detects a failure, it can 'reinitialise' behind the scene. See the org.mule.providers.jms.xa.ConnectionFactoryWrapper for a good usage sample.

Andrew

On 2/23/07, kennywest <kenneth.westelinck@...> wrote:


Andrew Perepelytsya wrote:
>
> Kenneth,
>
> Can you check if it can be implemented with a standard JDK proxy? That
> would
> provide a consistent approach with the invocation handler.
>
> Andrew
>

Ehm ... sure. Andrew, can you elaborate some more on this, I'm not
completely sure what you're meaning / trying to accomplish.
--
View this message in context: http://www.nabble.com/JMS-%2B-SimpleRetryConnectionStrategy-%2BJNDI-%2BOracleJMS-...-not-working-tf3265566.html#a9115157
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: JMS + SimpleRetryConnectionStrategy +JNDI +OracleJMS ... not working