public Producer createProducer() throws Exception { if (bindingStyle == BindingStyle.SimpleConsumer) { throw new IllegalArgumentException("The SimpleConsumer Binding Style cannot be used in a camel-cxfrs producer"); } final CxfRsProducer cxfRsProducer = new CxfRsProducer(this); if (isSynchronous()) { return new SynchronousDelegateProducer(cxfRsProducer); } else { return cxfRsProducer; } }
public Producer createProducer() throws Exception { Producer answer = new JmsProducer(this); if (isSynchronous()) { return new SynchronousDelegateProducer(answer); } else { return answer; } }
@Override public Producer createProducer() throws Exception { KafkaProducer producer = createProducer(this); if (isSynchronous()) { return new SynchronousDelegateProducer(producer); } else { return producer; } }
public Producer createProducer() throws Exception { Producer answer = new NettyProducer(this, configuration); if (isSynchronous()) { return new SynchronousDelegateProducer(answer); } else { return answer; } }
public Producer createProducer() throws Exception { Producer answer = new CxfProducer(this); if (isSynchronous()) { return new SynchronousDelegateProducer(answer); } else { return answer; } }
public Producer createProducer() throws Exception { Producer answer = new NettyProducer(this, configuration); if (isSynchronous()) { return new SynchronousDelegateProducer(answer); } else { return answer; } }
@Override public Producer createProducer() throws Exception { KafkaProducer producer = createProducer(this); if (isSynchronous()) { return new SynchronousDelegateProducer(producer); } else { return producer; } }
public Producer createProducer() throws Exception { ThriftProducer producer = new ThriftProducer(this, configuration); if (isSynchronous()) { return new SynchronousDelegateProducer(producer); } else { return producer; } }
@Override public Producer createProducer() throws Exception { Producer answer = new NettyHttpProducer(this, getConfiguration()); if (isSynchronous()) { return new SynchronousDelegateProducer(answer); } else { return answer; } }