For multi threading we were looking into example 410. However in this example different users are used to create multiple OmmConsumers. We would prefer a multi-threaded solution that works with only one user.
We tried creating multiple consumers using the same login, but that doesn't seem to work with the token refreshing. Another thing we tried was using a single Consumer with multiple threads calling the dispatch method. In this case it seems like the message decoding isn't really working parallel, probably due to locks in the dispatch method. So this doesn't really help when decoding is slow.
Is there any way to use multi threading with only one user?