executor = theTransport.bus
.getWorkQueueManager().getAutomaticWorkQueue();
}
if (executor != null) {
try {
executor.execute(new JMSExecutor(theTransport, message));
message = null;
} catch (RejectedExecutionException ree) {
//FIXME - no room left on workqueue, what to do
//for now, loop until it WILL fit on the queue,
//although we could just dispatch on this thread.