Hi, It seems there is some bug in SmppConsumer (https://github.com/apache/camel/blob/master/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L134): - in case of unsuccessful connection/binding attempts it spawns a reconnect thread going to sleep for initialReconnectDelay even if configured max number of reconnection attempt is set to zero. - since thread spawning the new reconnection runnable is blocked for waiting for rejoining this thread, so blocked the application initiating SMPP connection setup from e.g. adding a route into the context... - it makes implementation of own handling of initial connection errors or own reconnection handling strategy rather ineffective
Lucky us, fix is rather easy: spawn reconnect runnable if and only if maxReconnect URL parameter is greater than zero... I'm new to this community, so please advise on how an issue for tracking this problem to be created and how a fix can be provided. Thx, Zoltan