[ 
https://issues.apache.org/jira/browse/AMQ-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496542#comment-13496542
 ] 

Gary Tully commented on AMQ-3224:
---------------------------------

interesting, I see in the connection factory case, that the redelivery policy 
is being set as the default entry. So the issue is the mandatory nature of the 
delivery policy destination atribute, when in fact, for a default entry, it 
does not need a destination at all.
I think this means we need to pull:{code}    /**
     *
     * @throws Exception
     * @org.apache.xbean.InitMethod
     */
    @PostConstruct
    public void afterPropertiesSet() throws Exception {
        if (destination == null) {
            throw new IllegalArgumentException("You must specify the 
'destination' property");
        }
    }
{code} from org.apache.activemq.filter.DestinationMapEntry
                
> Redelivery per destination
> --------------------------
>
>                 Key: AMQ-3224
>                 URL: https://issues.apache.org/jira/browse/AMQ-3224
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.4.2
>            Reporter: Ed Bras
>            Assignee: Timothy Bish
>             Fix For: 5.7.0
>
>
> Please make it possible to define redelivery policies per Destination instead 
> per Connection factory.
> For more info see the related forum post:
> http://activemq.2283324.n4.nabble.com/RedeliveryPolicy-per-destination-td3384640.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to