As far as the JBoss 7/EAP6 does not allow to reuse the MessageProducer across the different transactions for a transactional messaging sending (transactional session), we are obliged to follow the rule: if you would like to send the tx message, create the new producer within the transaction you would like to join.
The reason behind that is out of HornetQ scope, but I would like to understand the cost of HornetQ for the frequently created producers.
What I've got so far:
Quite a lot. Under the high loading, occasionally we receive the "Timed out waiting for response when sending packet 49", i.e. for the "session binding query".