Hi Robbie,
I did testing with -
SETTINGS:
1. Single javax.jms.Connection
2. With the use of above Connection object created --> 4 Session
--> and created 4 Consumer for each Session --> 4 Listner for each
consumer
3. With the use of above Connection object created --> 17 Session
--> Using all 17 session for Message Creation
4. With the use of above Connection object created --> 17 Session
--> and created 17 Producer for each Session --> Using all producer for
sending message
So in my application, there are 38 Session Objects (4 for consumer, 17 for
Producer, 17 for Message creation). (Is it a good practice to have these
many sessions?)
ISSUE:
I started the application on Friday "2018-05-25 16:43:10,078" and keep
application idle running for 2.5 days.
After 2.5 days in idle state, i did testing today morning "2018-05-29
09:05:47,853". I found below result.
1. Consumer worked fine;
2. But, Producer failed to send messages after 2.5 days;
(Logs at below location) -
https://github.com/abhikt48/servicebus/blob/master/ErrorLogs
What is making the Producer to fail? Is there some setting I have to do?
ADDITIONAL QUESTIONS:
1. Can/should I create separate Message producer for every message and
dispose it once message sent successfully?
OR
2. Can/should I have multiple message producer(more than 17) with single
Session object? Is this a good practice?
Regards,
Abhishek Kumar
--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]