Cost of JCSMPSession
I'm creating an app which reads messages from multiple Solace topics. Different parts of my app need to read from different topics. And I wonder
(1) if I should create only one
JCSMPSession subscribe to all topics and then dispatch messages to different parts of my application
(2) or create
JCSMPSession in each part of my application?
Variant (2) seems better for implementation since it allows to make different parts of my application more independent. On the other hand I would need 50-100 connected
JCSMPSessions. Isn't that too much? Or is it really cheap?