Re: ejb singleton not closing thread

2021-05-31 Thread Matthew Broadhead
following this stackoverflow post seems to have fixed it: https://stackoverflow.com/questions/39080296/hazelcast-threads-prevent-tomee-from-stopping creating a default producer: @ApplicationScoped public class NatsConnectionProducer {     @Resource(name = "baseAddressNats")     private

ejb singleton not closing thread

2021-05-28 Thread Matthew Broadhead
i am trying to subscribe to a nats streaming server in a singleton. the idea is that it will listen for any messages from the queue while the server is running. it looks like it might work ok in production but during development if i make any code change then it blows up with