You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Suray Philippe (JIRA)" <ji...@apache.org> on 2012/08/08 09:15:10 UTC
[jira] [Created] (CAMEL-5490) Queue is Full in DefaultServicePool
Suray Philippe created CAMEL-5490:
-------------------------------------
Summary: Queue is Full in DefaultServicePool
Key: CAMEL-5490
URL: https://issues.apache.org/jira/browse/CAMEL-5490
Project: Camel
Issue Type: Bug
Components: camel-netty
Affects Versions: 2.10.0
Reporter: Suray Philippe
I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
After several forwarded messages, an error occurs on every forwarded message:
DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
java.lang.IllegalStateException: Queue full
at java.util.AbstractQueue.add(AbstractQueue.java:71)
at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-5490:
-----------------------------------
Assignee: Willem Jiang
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Assignee: Willem Jiang
> Attachments: NettyTest.java
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Suray Philippe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suray Philippe updated CAMEL-5490:
----------------------------------
Attachment: NettyTest.java
Here is a small test case.
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Attachments: NettyTest.java
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Suray Philippe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431677#comment-13431677 ]
Suray Philippe commented on CAMEL-5490:
---------------------------------------
Thank you for your response.
In fact in the test case, the second tcp endpoint simulate the tcp listener of one of our client who receive the forwarding messages.
Unfortunately, I have no possible action on this application.
What can I do?
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Assignee: Willem Jiang
> Attachments: NettyTest.java, NettyTest.java.new
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5490.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.11.0
2.10.3
This has been fixed in camel-netty. We are now using commons-pool to poll Netty Channel's. This is more efficient and dont have any upper limitations.
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Assignee: Willem Jiang
> Fix For: 2.10.3, 2.11.0
>
> Attachments: NettyTest.java, NettyTest.java.new
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-5490:
--------------------------------
Attachment: NettyTest.java.new
I just played with the test case and found the Exception can be fixed by using the Processor directly instead of create AsyncProcessor.
Please check out the patched NettyTest.java.new
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Assignee: Willem Jiang
> Attachments: NettyTest.java, NettyTest.java.new
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Suray Philippe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430918#comment-13430918 ]
Suray Philippe commented on CAMEL-5490:
---------------------------------------
See also http://camel.465427.n5.nabble.com/Error-in-DefaultServicePool-on-Netty-Producer-Queue-is-full-td5716882.html
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Attachments: NettyTest.java
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431756#comment-13431756 ]
Willem Jiang commented on CAMEL-5490:
-------------------------------------
Did you run the test directly with the tcp listener of your client?
I think you can add some flue control[1] on your route to work around this kind of issue, if there are so many messages to forward.
[1]http://camel.apache.org/throttler.html
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Assignee: Willem Jiang
> Attachments: NettyTest.java, NettyTest.java.new
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5490) Queue is Full in DefaultServicePool
Posted by "Suray Philippe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431760#comment-13431760 ]
Suray Philippe commented on CAMEL-5490:
---------------------------------------
Unfortunately, I cannot run the test against the server of the client.
I will try to add the throttler in the route, I'll keep you informed.
Thank you for your help.
> Queue is Full in DefaultServicePool
> -----------------------------------
>
> Key: CAMEL-5490
> URL: https://issues.apache.org/jira/browse/CAMEL-5490
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 2.10.0
> Reporter: Suray Philippe
> Assignee: Willem Jiang
> Attachments: NettyTest.java, NettyTest.java.new
>
>
> I use a Netty endPoint to forward messages to a client. These messages come from an another Netty endPoint.
> After several forwarded messages, an error occurs on every forwarded message:
> DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27] org.apache.camel.component.netty.handlers.ClientChannelHandler - Closing channel as an exception was thrown from Netty
> java.lang.IllegalStateException: Queue full
> at java.util.AbstractQueue.add(AbstractQueue.java:71)
> at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
> at org.apache.camel.impl.DefaultServicePool.release(DefaultServicePool.java:96)
> at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:304)
> at org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:125)
> at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:162)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
> at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira