Address Bind Exception on high loads

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content