camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11079) Batch SJMS Consumer Dies on Failover
Date Tue, 28 Mar 2017 08:24:41 GMT

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

Claus Ibsen commented on CAMEL-11079:
-------------------------------------

Thanks for the PR

> Batch SJMS Consumer Dies on Failover
> ------------------------------------
>
>                 Key: CAMEL-11079
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11079
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-sjms
>    Affects Versions: 2.18.3
>            Reporter: Peter Boekelheide
>            Assignee: Claus Ibsen
>             Fix For: 2.19.0
>
>
> Problem:
> When using failover in queue consumption, if a connection is bumped to another broker
then the session in SjmsBatchConsumer becomes invalid and an IllegalStateException is thrown,
which causes the route (and possibly the application) to exit.
> Solution:
> Introduce a new URI param that allows the SjmsBatchConsumer to create a new session when
this situation occurs, but default the param to a value that preserves the original behavior
so nobody gets a nasty surprise.
> See https://github.com/apache/camel/pull/1565



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message