Yes you can do this. This is easy.
JMS can not do this for you. You have to write the code yourself.
When a new subscriber becommes online, publish a message from the new subscriber to all the other subscribers. When the other subscribers interpret this message close the connection.
Could you please explain to me how to configure to make the durable subscriber work in jboss?
Which xml file should I update?
Thanks a lot