this is needed as the native JMS inputonly method really is inputonly
so doesn't wait for a response. Therefore the next request, such as an
addressbook lookup may run before the previous add has completed.
Create a listener thread to listen for messages. This waits forever
until it gets an InterruptedException.
Parameters: listener - is the JMS message and exception callback interface implementation Parameters: queue - to listen on