Address Bind Exception on high loads
Issue
We have a deployed stack which uses fuse, camel and activemq. The camel routes retrieve and push data onto the queues. During our testing we saw an issue where camel is unable to make a connection to activemq in high throughput scenarios. It fails with the error -
org.springframework.transaction.CannotCreateTransactionException: Could not create JMS transaction; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61620. Reason: java.net.BindException: Address already in use: connect
This happens for a few messages and they get pushed to an error queue. Since the error does not happen for all messages we know that the activemq at that port is not down. We were looking for suggestions on the possible cause of this error?
Environment
- Red Hat JBoss Fuse
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
