Skip to content
Discussion options

You must be logged in to vote

If we instead create one ConnectionFactory per route (effectively giving each consumer route its own dedicated TCP connection), this could potentially resolve the issue, as each consumer would then be isolated.

A connection factory creates connections, so you can have a 1-1 connection-to-consumer mapping with the same connection factory.

A connection factory has a shared executor used to dispatch messages to consumer. It uses it for each connection it creates, unless you create a connection with ConnectionFactory#newConnection(ExecutorService). There is a default value for this shared executor, but you can set your own. So there's plenty of solution to tweak the dispatching.

  1. Why are t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by acogoluegnes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants