Usage of SocketFactory#createSocket(String host, int port)

2018-03-13 Thread Pascal Schumacher

Hello everybody,

took a look at the camel-smpp source code and noticed that 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 Socket#setSoTimeout is called later on and 
Socket#connect(SocketAddress endpoint, int timeout) exists, I guess the 
initial connection is created without any timeout?


As blocking operations without timeouts should be avoided, should the 
code be changed to:


socket = socketFactory.createSocket();
socket.connect(new InetSocketAddress(host, port), timeout);

or am I missing something?

Thanks,

Pascal




Re: [VOTE] Release Apache Camel 2.21.0

2018-03-13 Thread Gary Brown
+1 (non-binding)

Tested OpenTracing example.

On Mon, Mar 12, 2018 at 9:18 PM, Alex Dettinger 
wrote:

> +1 (non-binding)
>
> Thanks Gregor
>
> On Mon, Mar 12, 2018 at 9:46 AM, Jean-Baptiste Onofré 
> wrote:
>
> > +1 (binding)
> >
> > Tested with couple of projects/PoC without problem.
> >
> > Thanks !
> >
> > Regards
> > JB
> >
> > Le 11 mars 2018 à 18:48, à 18:48, Gregor Zurowski <
> > gre...@list.zurowski.org> a écrit:
> > >Hi Everyone:
> > >
> > >This is a vote to release Apache Camel 2.21.0, a new minor release
> > >with 400 new features, improvements and bug fixes.  A summary of the
> > >changes is available in the Camel wiki:
> > >https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.21.0+Release.
> > >
> > >Release notes:
> > >https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > version=12341576=12311211
> > >
> > >Staging repository:
> > >https://repository.apache.org/content/repositories/orgapachecamel-1103/
> > >
> > >Tarballs:
> > >https://repository.apache.org/content/repositories/
> > orgapachecamel-1103/org/apache/camel/apache-camel/2.21.0/
> > >
> > >Tag:
> > >https://gitbox.apache.org/repos/asf?p=camel.git;a=tag;h=
> > 4a46f8170c70abbdb76485c6cabe5091cc70e838
> > >
> > >Please test this release candidate and cast your vote.
> > >[ ] +1 Release the binary as Apache Camel 2.21.0
> > >[ ] -1 Veto the release (provide specific comments)
> > >
> > >The vote is open for at least 72 hours.
> > >
> > >As with every new minor version, this release introduces many changes
> > >and improvements. It would be great if we could get as much testing as
> > >possible for this release candidate.
> > >
> > >Thanks,
> > >Gregor
> >
>


Apache CAmel to IMB MQ - JMSDestination

2018-03-13 Thread Gupta Bharat
Hello,

Issue: I am routing a message from active mq topic to Ibm mq queue, using
Apache camel as the medium between these two. Apache camel is used for
intermediate routing and for transformations. I am setting JMSDestination
in message header as some topic name(eg: FMP/1.0/a/bguxmb). But when
message reaches local q on IBM MQ JMSDestination is overridden by queue
name (eg: LQ.SSCO).

How I can ensure that JMSDestination remains the same what I am setting
and it's not overridden by Q value.

Any help/clue would be appreciated. :)

Regards,
Bharat Gupta


Re: Re: News on front page about new website and documentation

2018-03-13 Thread Claus Ibsen
On Fri, Mar 9, 2018 at 1:47 AM, Sascha Dirbach
 wrote:
> Hi
>
> Am 06.03.2018 um 10:48 schrieb Claus Ibsen:
>>
>> Anyone wanna help with that?
>
>
> I would also be interested on helping.
>
> Is there already a channel to coordinate that work?
>

We will talk on this @dev mailing list on ASF, then anybody can see,
participate and help.


> Kind regards,
> Sascha
>



-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2