If you have
to seda foo
from seda foo ? queueSize = 5
to log foo
Then due the producer with seda : foo is created first it creates the queue with default size. But since there consumer has set the custom queue size to 5, then we would like the queue to be 5.
So we should lazy create the queue until all endpoints in routes are created. Then we can find out what the queue size should be