Re: Recovery From Netty Connection Drop

2010-05-11 Thread Gareth Collins
On Tue, May 11, 2010 at 8:35 AM, Claus Ibsen > wrote: >> Hi Gareth >> >> Thanks for your findings. I will get it committed to trunk. (Apache >> SVN is not working at this moment). >> > > Committed fixes to trunk. Gareth can you test it on your system? > >&

Re: Recovery From Netty Connection Drop

2010-05-10 Thread Gareth Collins
(channelPipeline.remove("ssl") != null) { channelPipeline.addFirst("ssl",configureClientSSLOnDemand()); } return channelPipeline; } If similar changes could be made in SVN, it would be much appreciated. thanks in adv

Re: Recovery From Netty Connection Drop

2010-05-10 Thread Gareth Collins
k at the issues tonight, I will have a go in the morning. thanks in advance, Gareth Gareth Collins wrote: > > Hello Claus, > > I am still having some problems. Whilst the connection is re-established, > I believe the ChannelFuture never indicates that the send completes. I >

Re: Recovery From Netty Connection Drop

2010-05-09 Thread Gareth Collins
L-2698 >> https://issues.apache.org/activemq/browse/CAMEL-2699 >> >> I got the first one committed, and will work on the 2nd ticket. >> >> >> On Thu, May 6, 2010 at 6:33 AM, Claus Ibsen >> wrote: >>> Hi >>> >>> Well spotted. Can you cr

Re: Recovery From Netty Connection Drop

2010-05-06 Thread Gareth Collins
JIRA ticket ticket for that. >> >> >> On Thu, May 6, 2010 at 6:29 AM, Gareth Collins >> wrote: >>> >>> Hello, >>> >>> I took a look at the Netty Producer code: >>> >>>    public void process(Ex

Re: Recovery From Netty Connection Drop

2010-05-05 Thread Gareth Collins
ange.getIn().getBody()); channelWriteFuture.awaitUninterruptibly() if (channelWriteFuture.isSuccess() == false) { // throw some exception // or possibly if connection closed, try to create connection and send again // if fails again throw exception } thanks in advance, Gareth Collins -- View this messa

Recovery From Netty Connection Drop

2010-05-05 Thread Gareth Collins
meone could give me an idea on how to handle this scenario it would be much appreciated. thanks very much in advance, Gareth Collins Sequence Of Events (removed/replaced my irrelevant class/IP address/queue names in trace): (1) Exception from netty indicating connection is lost: 2010-05-05 18:49:3

Re: CAMEL Spring Equivalent of body().isInstanceOf(AddEndpointNotificationMessage.class)

2010-04-26 Thread Gareth Collins
language which can do > this, like Groovy etc. > http://camel.apache.org/languages.html > > On Fri, Apr 23, 2010 at 8:50 PM, Gareth Collins > wrote: >> >> Hello, >> >> I had originally written my CAMEL application using Java DSL. Now I want >> to >> c

CAMEL Spring Equivalent of body().isInstanceOf(AddEndpointNotificationMessage.class)

2010-04-23 Thread Gareth Collins
n the docs which show how to do this in Spring, it would be a really big help. Thanks very much in advance. regards, Gareth Collins -- View this message in context: http://old.nabble.com/CAMEL-Spring-Equivalent-of-body%28%29.isInstanceOf%28AddEndpointNotificationMessage.class%29-tp28345067p283

Re: Make TrustManager Optional When Using SSL For Netty

2010-04-12 Thread Gareth Collins
wrote: > > Hi, > > I have committed a fix based on your change request. You should be able to > now checkout the latest changes from the trunk. > > Cheers, > > Ashwin... > > > Gareth Collins wrote: >> >> Hello, >> >> Would it be po

Make TrustManager Optional When Using SSL For Netty

2010-04-08 Thread Gareth Collins
n, but the messages I send do not get to the server. If I connect directly using an SSLSocket I see a javax.net.ssl.SSLHandshakeException. Is there something I am missing here? thanks in advance, Gareth Collins -- View this message in context: http://old.nabble.com/Make-TrustManager-Optional-When

Re: New Suggested Feature For Mina/Netty

2010-04-07 Thread Gareth Collins
> producer.sendBody(message); > } > > nextFilter.messageReceived(session, message); > } > > } > > > Gareth Collins wrote: >> >> Hello, >> >> In looking at the source f

New Suggested Feature For Mina/Netty

2010-04-07 Thread Gareth Collins
closes the connection. For now, I will create a custom component for this. However, it would be nice if I could implement this using the generic mina/netty components. thanks in advance, Gareth Collins -- View this message in context: http://old.nabble.com/New-Suggested-Feature-For-Mina-Netty