QueueSession session = connect.createQueueSession (false, Session.AUTO_ACKNOWLEDGE);
QueueSender sender = session.createSender (resultQueue);
ObjectMessage message = session.createObjectMessage();
message.setStringProperty ("MessageFormat", "FaultMessage Version 1.0");
message.setObject(new FaultParameter(instance.getInstanceId(), tracingTag, fault));
//only available for JBoss 3.2.2
sender.send (message);
connect.close ();