ProducerDelegate producerDelegate = delegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate);
ThreadContextClassLoaderChanger tccc = new ThreadContextClassLoaderChanger();  try { tccc.set(getClass().getClassLoader());  ProducerDelegate producerDelegate = delegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate); } finally { tccc.restore(); }
   public MessageProducer createProducer(Destination d) throws JMSException   {      ProducerDelegate producerDelegate = delegate.createProducerDelegate(d);      return new JBossMessageProducer(producerDelegate);   }