final OutboundSession os =(OutboundSession) oc.createSession(false,1);
System.out.println("OutboundSession ok");
final OutboundProducer prod = (OutboundProducer) os.createProducer(queue);
final OutboundProducer prod1 = (OutboundProducer) os.createProducer(topic);
System.out.println("OutboundProducer ok");
OutboundConsumer cons = (OutboundConsumer) os.createConsumer(queue);
OutboundConsumer cons1 = (OutboundConsumer) os.createConsumer(topic);