code: @Override
  	public void execute(Tuple input) {
  		// write the tuple to a JMS destination...
  		LOG.debug("Tuple received. Sending JMS message.");
  		
  		try {
  			Message msg = this.producer.toMessage(this.session, input);
  			if(msg != null){
  				if (msg.getJMSDestination() != null) {
  					this.messageProducer.send(msg.getJMSDestination(), msg);
  				} else {
  					this.messageProducer.send(msg);
  				}
  			}
  			if(this.autoAck){
  				LOG.debug("ACKing tuple: " + input);
  				this.collector.ack(input);
  			}		
  		} catch (JMSException e) {
  			// failed to send the JMS message, fail the tuple fast
  			LOG.warn("Failing tuple: " + input);
  			LOG.warn("Exception: ", e);
  			this.collector.fail(input);
  		}
  	}
docs: Consumes a tuple and sends a JMS message.
  <p/>
  If autoAck is true, the tuple will be acknowledged
  after the message is sent.
  <p/>
  If JMS sending fails, the tuple will be failed.