public void stop() { if (state != BaseConstants.STARTED) return; state = BaseConstants.STOPPED; mbeanSupport.unregister(); log.info(getTransportName().toUpperCase() + " Sender Shutdown"); }
public void stop() { if (state != BaseConstants.STARTED) return; state = BaseConstants.STOPPED; mbeanSupport.unregister(); log.info(getTransportName().toUpperCase() + " Sender Shutdown"); }
/** * Initialize the generic transport sender. * * @param cfgCtx the axis configuration context * @param transportOut the transport-out description * @throws AxisFault on error */ public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault { this.cfgCtx = cfgCtx; this.transportOut = transportOut; this.transportIn = cfgCtx.getAxisConfiguration().getTransportIn(getTransportName()); this.state = BaseConstants.STARTED; // register with JMX mbeanSupport = new TransportMBeanSupport(this, getTransportName()); mbeanSupport.register(); log.info(getTransportName().toUpperCase() + " Sender started"); }
/** * Initialize the generic transport sender. * * @param cfgCtx the axis configuration context * @param transportOut the transport-out description * @throws AxisFault on error */ public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault { this.cfgCtx = cfgCtx; this.transportOut = transportOut; this.transportIn = cfgCtx.getAxisConfiguration().getTransportIn(getTransportName()); this.state = BaseConstants.STARTED; // register with JMX mbeanSupport = new TransportMBeanSupport(this, getTransportName()); mbeanSupport.register(); log.info(getTransportName().toUpperCase() + " Sender started"); }
responseMsgCtx.setIncomingTransportName(getTransportName()); responseMsgCtx.setTransportOut(transportOut); responseMsgCtx.setTransportIn(transportIn);
responseMsgCtx.setIncomingTransportName(getTransportName()); responseMsgCtx.setTransportOut(transportOut); responseMsgCtx.setTransportIn(transportIn);