camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-10323) MQTT producer creation fails if network is not available at startup
Date Sat, 08 Oct 2016 01:33:21 GMT


Claus Ibsen resolved CAMEL-10323.
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.19.0

There is a new lazySessionCreation option on the producer like mina/netty that is default

> MQTT producer creation fails if network is not available at startup
> -------------------------------------------------------------------
>                 Key: CAMEL-10323
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mqtt
>    Affects Versions: 2.17.2, 2.17.3
>            Reporter: Vladimir Dzalbo
>            Assignee: Claus Ibsen
>             Fix For: 2.19.0
> Trying to use Camel in environment with unstable network came with following problem:
when Camel context starts up with network not being available no matter what retry settings
are set, the creation of the producer will fail, which will also by default mean failure in
the creation of context.
> It would be good if behavior was similar to other components (like mina or netty), where
producer tries to establish connection when it has a message to send (or periodically?)  
> So, once network connection is created (maybe hours or days after creation) endpoint
would be functional and all messages can be delivered given  Guaranteed Delivery pattern is
> Can we avoid fatal exception on creation of the Endpoint?

This message was sent by Atlassian JIRA

View raw message