You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by bigandyt <an...@gmail.com> on 2012/11/07 18:29:05 UTC

Re: Getting rid of inflight changes

Hi Claus, 

Earlier you mention there was a bug shutting down the SEDA queues, are you
able to tell me what version it was fixed.

Im investigating an issue where some messages seem to be hung on a seda
queue and as we use quite an old version of camel im wondering if it could
be that.



--
View this message in context: http://camel.465427.n5.nabble.com/Getting-rid-of-inflight-changes-tp3366187p5722312.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Getting rid of inflight changes

Posted by bigandyt <an...@gmail.com>.
Ah thanks both for your replies, to be honest I was being a bit lazy and
should have looked at the changelogs, until recently we were limited with
the version we could use we are back at 2.5, we are updating an exisitng IBM
java 1.5 based application and integrating camel to help scale it out. Weve
now upgraded to 1.6 java so I will look into upping the Camel version also.

Its difficult to diagnose as we only see this issue on the production
environment, the messages just seem to sit on the queue and dont get
processed, I suspect its more environment related than camel but I think due
to the significant improvements between the version of camel we use and the
current I think its worth updating.

Thanks for your help



--
View this message in context: http://camel.465427.n5.nabble.com/Getting-rid-of-inflight-changes-tp3366187p5722379.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Getting rid of inflight changes

Posted by Raul Kripalani <ra...@evosent.com>.
Hi,

Yes, this has happened to me with older versions of Camel. AFAIR, even
2.8.0 suffers from this. Newer versions are able to interrupt the thread
during shutdown.

Do you see a message like "nnn messages in flight. Waiting 300 seconds
before forcing shutdown." or something similar?

Regards,

*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk>

On Thu, Nov 8, 2012 at 9:30 AM, Claus Ibsen <cl...@gmail.com> wrote:

> On Wed, Nov 7, 2012 at 6:29 PM, bigandyt <an...@gmail.com> wrote:
> > Hi Claus,
> >
> > Earlier you mention there was a bug shutting down the SEDA queues, are
> you
> > able to tell me what version it was fixed.
> >
>
> I suggest you look at the release notes.
> You can also try the commit logs for the changes in
> camel-core/src/main/java/org/apache/camel/component/seda - and if
> anything rings a bell.
>
>
> > Im investigating an issue where some messages seem to be hung on a seda
> > queue and as we use quite an old version of camel im wondering if it
> could
> > be that.
> >
>
> Possible. It depends what you mean by hung. Are you shutting down Camel,
> and then some messages on seda queues, are not being processed, during
> the graceful shutdown?
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Getting-rid-of-inflight-changes-tp3366187p5722312.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: Getting rid of inflight changes

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Nov 7, 2012 at 6:29 PM, bigandyt <an...@gmail.com> wrote:
> Hi Claus,
>
> Earlier you mention there was a bug shutting down the SEDA queues, are you
> able to tell me what version it was fixed.
>

I suggest you look at the release notes.
You can also try the commit logs for the changes in
camel-core/src/main/java/org/apache/camel/component/seda - and if
anything rings a bell.


> Im investigating an issue where some messages seem to be hung on a seda
> queue and as we use quite an old version of camel im wondering if it could
> be that.
>

Possible. It depends what you mean by hung. Are you shutting down Camel,
and then some messages on seda queues, are not being processed, during
the graceful shutdown?
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Getting-rid-of-inflight-changes-tp3366187p5722312.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen