transport.rest | Information about the * .transport.rest APIs | REST library
kandi X-RAY | transport.rest Summary
kandi X-RAY | transport.rest Summary
Information about the *.transport.rest APIs.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of transport.rest
transport.rest Key Features
transport.rest Examples and Code Snippets
Community Discussions
Trending Discussions on transport.rest
QUESTION
Client runs within Spring: JmsTemplate
with PooledConnectionFactory
and ActiveMQConnectionFactory
, with one stop
method:
ANSWER
Answered 2019-May-22 at 11:51The FailoverTransport is configured to retry indefinitely, so you must set the maxReconnectAttempts to > 0. Some more info here: https://issues.jboss.org/browse/ENTESB-9216. You can set it on the serverURL like this: https://svn.apache.org/repos/infra/websites/production/activemq/content/5.7.0/failover-transport-reference.html
QUESTION
I'm using ActiveMQ 5.9 with Camel 2.10.3, and under load (during a performance test) I'm experiencing some problems, it seems that the broker is stuck trying to close a connection, and I can't understand the reason.
The configuration of the JMS system is the following: there are two broker (configured in failover mode) and many client nodes that acts both as consumer both as producer of some queues (let's take one for example: 'customer_update queue'.
I'm using PooledConnectionFactory with default configuration, 'CACHE_CONSUMER' cache level and 10 max concurrent consumer per each client node.
Broker configuration is the following: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
Here's the thread holding lock on the broker, and never releasing it:
...ANSWER
Answered 2018-May-28 at 17:32Most probably I was affected by this issue:
https://issues.apache.org/jira/browse/AMQ-5090
Updating to ActiveMQ 5.10.0 and Camel 2.13.1 solved the issue (system is much more stable, even during performance tests).
Thanks Giulio
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install transport.rest
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page