activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From preben <preben.asmus...@gmail.com>
Subject Re: redeliveryPlugin seems to have problems with defaultEntry
Date Wed, 03 Sep 2014 11:43:03 GMT
Thanks. 
Lot of amq switches 

The trick is to set broker url =
failover:(tcp://localhost:61616)?jms.rmIdFromConnectionId=true&jms.prefetchPolicy.all=1&randomize=false&jms.redeliveryPolicy.maximumRedeliveries=0

to disable client side redelivery, and let the broker take control.

2014-09-03 12:57:02,545 | INFO  | ActiveMQ WebConsole available at
http://0.0.0.0:8161/ | org.apache.activemq.web.WebConsoleStarter | main
2014-09-03 12:57:02,618 | INFO  | Initializing Spring FrameworkServlet
'dispatcher' | /admin | main
2014-09-03 12:57:02,620 | INFO  | FrameworkServlet 'dispatcher':
initialization started | org.springframework.web.servlet.DispatcherServlet |
main
2014-09-03 12:57:02,663 | INFO  | Refreshing WebApplicationContext for
namespace 'dispatcher-servlet': startup date [Wed Sep 03 12:57:02 CEST
2014]; parent: Root WebApplicationContext |
org.springframework.web.context.support.XmlWebApplicationContext | main
2014-09-03 12:57:02,665 | INFO  | Loading XML bean definitions from
ServletContext resource [/WEB-INF/dispatcher-servlet.xml] |
org.springframework.beans.factory.xml.XmlBeanDefinitionReader | main
2014-09-03 12:57:02,696 | INFO  | Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1393f867:
defining beans
[handlerMapping,/createDestination.action,/deleteDestination.action,/createSubscriber.action,/deleteSubscriber.action,/sendMessage.action,/purgeDestination.action,/deleteMessage.action,/copyMessage.action,/moveMessage.action,/deleteJob.action,exceptionResolver];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@b43f35f
| org.springframework.beans.factory.support.DefaultListableBeanFactory |
main
2014-09-03 12:57:02,906 | INFO  | FrameworkServlet 'dispatcher':
initialization completed in 284 ms |
org.springframework.web.servlet.DispatcherServlet | main
2014-09-03 12:57:03,160 | INFO  | jolokia-agent: No access restrictor found
at classpath:/jolokia-access.xml, access to all MBeans is allowed | /api |
main
2014-09-03 12:57:41,948 | TRACE | redelivery #1 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 1000, dest: queue://demo
| org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ Transport:
tcp:///127.0.0.1:49669@61616
2014-09-03 12:57:42,168 | TRACE | redelivery #2 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 2000, dest: queue://demo
| org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ Transport:
tcp:///127.0.0.1:49669@61616
2014-09-03 12:57:44,116 | TRACE | redelivery #3 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 4000, dest: queue://demo
| org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ Transport:
tcp:///127.0.0.1:49669@61616
2014-09-03 12:57:48,094 | TRACE | redelivery #4 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 8000, dest: queue://demo
| org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ Transport:
tcp:///127.0.0.1:49669@61616
2014-09-03 12:57:56,095 | TRACE | redelivery #5 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 16000, dest:
queue://demo | org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ
Transport: tcp:///127.0.0.1:49669@61616
2014-09-03 12:58:12,067 | TRACE | redelivery #6 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 32000, dest:
queue://demo | org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ
Transport: tcp:///127.0.0.1:49669@61616
2014-09-03 12:58:44,209 | TRACE | redelivery #7 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 64000, dest:
queue://demo | org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ
Transport: tcp:///127.0.0.1:49669@61616
2014-09-03 12:59:48,189 | TRACE | redelivery #8 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 128000, dest:
queue://demo | org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ
Transport: tcp:///127.0.0.1:49669@61616
2014-09-03 13:01:56,090 | TRACE | redelivery #9 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 256000, dest:
queue://demo | org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ
Transport: tcp:///127.0.0.1:49669@61616
2014-09-03 13:06:12,175 | TRACE | redelivery #10 of:
ID:A70103-56018-1409741049739-3:1:2:1:1 with delay: 512000, dest:
queue://demo | org.apache.activemq.broker.util.RedeliveryPlugin | ActiveMQ
Transport: tcp:///127.0.0.1:49669@61616

Defaultentry also ok.

Btw. Fifo ordering seems to go down the drain with broker redelivery.
If a message gets redelivered other messages that comes in "that are ok"
will be send on to the client even though there are messages being
redelivered.

/preben



--
View this message in context: http://activemq.2283324.n4.nabble.com/redeliveryPlugin-seems-to-have-problems-with-defaultEntry-tp4685094p4685258.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message