* @param connector the Connector to which we are injecting the MessageProducer.
*/
private void injectMessageProducer(Connector connector) {
// create the message producer that will send the message to an
// internal queue so we can process it.
MessageProducer messageProducer = new MessageProducer() {
private ProducerTemplate producer = camelContext.createProducerTemplate();
@Override
public void produce(Message message) {