You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/03/17 13:11:00 UTC
[jira] [Resolved] (CAMEL-12358) Camel-SMPP: Use timeout when
creating socket connection
[ https://issues.apache.org/jira/browse/CAMEL-12358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-12358.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.22.0
2.21.1
2.20.3
2.19.5
> Camel-SMPP: Use timeout when creating socket connection
> -------------------------------------------------------
>
> Key: CAMEL-12358
> URL: https://issues.apache.org/jira/browse/CAMEL-12358
> Project: Camel
> Issue Type: Improvement
> Components: camel-smpp
> Reporter: Pascal Schumacher
> Assignee: Pascal Schumacher
> Priority: Major
> Fix For: 2.19.5, 2.20.3, 2.21.1, 2.22.0
>
>
> Camel-SMPP is using
> _javax.net.SocketFactory#createSocket(String host, int port)_ which "creates a socket and connects it to the specified port number at the specified address" according to the javadoc.
> As _SocketFactory_ is an abstract class, the behavior of _createSocket(String host, int port)_ depends on the concrete implementation in use, but at least the default implementation of Oracle Java 8 Update 152 connects without using a timeout.
> As blocking operations without timeouts should be avoided Camel-SMPP should use a timeout when connecting the socket.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)