Questions tagged [jmscontext]
2 questions
3
votes
1 answer
TomEE Embedded ActiveMQ Using JMSContext: No ManagedConnections available within configured blocking timeout ( 5000 [ms] )
My application is using ActiveMQ embedded with TomEE Plus-8.0.0-M1.
The behavior of running out of pooled connections is the same regardless of using an explicitly defined javax.jms.ConnectionFactory using resources.xml or letting TomEE generate one…

Ted Spradley
- 3,414
- 3
- 22
- 26
0
votes
2 answers
Reusing JMSContext in IBM MQ
I'm trying to reuse a JMSContext to send multiple messages using the same context as shown in this IBM MQ tutorial.
context = cf.createContext();
destination = context.createQueue(QUEUE_NAME);
producer = context.createProducer();
for (int i =…

Gayan Weerakutti
- 11,904
- 2
- 71
- 68