@Override
    public QueueSender createSender(Queue queue) throws JMSException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "createSender", queue);
        QueueSender jmsQueueSender = null;

        // Checks for foreign implementation are handled in the parent class.
        // (null is allowed here as an unidentified producer).

        // createProducer() will call this.instantiateProducer()
        try {
            jmsQueueSender = (QueueSender) createProducer(queue);
        } catch (JMSException e) {
            // No FFDC code needed
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                SibTr.debug(this, tc, "exception caught: ", e);
            throw e;
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "createSender", jmsQueueSender);
        return jmsQueueSender;
    }
@ Override public QueueSender createSender ( Queue queue ) throws JMSException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "createSender" , queue ) ; QueueSender jmsQueueSender = null ; try { jmsQueueSender = ( QueueSender ) createProducer ( queue ) ; } catch ( JMSException e ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "exception caught: " , e ) ; throw e ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "createSender" , jmsQueueSender ) ; return jmsQueueSender ; }
@see javax.jms.QueueSession#createSender(Queue)