users@glassfish.java.net

Re: Setting endpointExceptionRedeliveryAttempts when using JMS and Spring

From: <glassfish_at_javadesktop.org>
Date: Mon, 29 Jun 2009 03:26:03 PDT

> ...there is a property
> named "endpointExceptionRedeliveryAttempts" that can
> be set using a Message Queue JMS Resource Adapter.
> See
> http://docs.sun.com/app/docs/doc/820-6740/aeoon?a=vie
>
> However, I can't figure out how to set this property.

According to that document, endpointExceptionRedeliveryAttempts is an "activation spec" property. This means it is only available if you are consuming messages using what in the Java Connector Architecture terminology is called a "message endpoint".

This is the case when using a MDB, in which case you can specify this property either using the @ActivationConfigProperty annotation or the <activation-config> element in sun-ejb-jar.

I don't know how a "message driven POJO" works, but but I suspect it doesn't use the message endpoint mechanism, which means this property cannot be used.

Nigel
[Message sent by forum member 'nigeldeakin' (nigeldeakin)]

http://forums.java.net/jive/thread.jspa?messageID=353375