[
https://issues.apache.org/jira/browse/AMQ-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097239#comment-15097239
]
ASF subversion and git services commented on AMQ-6125:
------------------------------------------------------
Commit b32be1bb1154368c34f9c4db6b6bf606ed6fbbea in activemq's branch
refs/heads/activemq-5.13.x from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=b32be1b ]
https://issues.apache.org/jira/browse/AMQ-6125
Ensure that the redelivery policy is never null in the consumer.
(cherry picked from commit 92870553389ef288d81c4ad670463c4fb1002c69)
> Potential NPE in session rollback if no default redlivery policy configured
> ---------------------------------------------------------------------------
>
> Key: AMQ-6125
> URL: https://issues.apache.org/jira/browse/AMQ-6125
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Timothy Bish
> Fix For: 5.13.1, 5.14.0
>
>
> If the RedliveryPolicyMap is set on a ConnectionFactory and no default entry
> is set on that instance than the MessageConsumer can throw an NPE on Rollback
> because its policy will be null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)