org.apache.camel.component.jms.JmsConfiguration Java Examples
The following examples show how to use
org.apache.camel.component.jms.JmsConfiguration.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TransactionApplication.java From eda-tutorial with Apache License 2.0 | 5 votes |
@Bean public AMQPComponent amqps(EnmasseProperties enmasseProperties) { AMQPComponent amqpComponent = new AMQPComponent(); amqpComponent.setConfiguration(new JmsConfiguration( new CachingConnectionFactory(new JmsConnectionFactory(enmasseProperties.toJmsRemoteURI())) )); return amqpComponent; }
Example #2
Source File: AccountApplication.java From eda-tutorial with Apache License 2.0 | 5 votes |
@Bean public AMQPComponent amqps(EnmasseProperties enmasseProperties) { AMQPComponent amqpComponent = new AMQPComponent(); amqpComponent.setConfiguration(new JmsConfiguration( new CachingConnectionFactory(new JmsConnectionFactory(enmasseProperties.toJmsRemoteURI())) )); return amqpComponent; }
Example #3
Source File: EnmasseSenderApplication.java From eda-tutorial with Apache License 2.0 | 5 votes |
@Bean public AMQPComponent amqps(EnmasseProperties enmasseProperties) { AMQPComponent amqpComponent = new AMQPComponent(); amqpComponent.setConfiguration(new JmsConfiguration( new CachingConnectionFactory(new JmsConnectionFactory(enmasseProperties.toJmsRemoteURI())) )); return amqpComponent; }
Example #4
Source File: EnmasseReceiverApplication.java From eda-tutorial with Apache License 2.0 | 5 votes |
@Bean public AMQPComponent amqps(EnmasseProperties enmasseProperties) { AMQPComponent amqpComponent = new AMQPComponent(); amqpComponent.setConfiguration(new JmsConfiguration( new CachingConnectionFactory(new JmsConnectionFactory(enmasseProperties.toJmsRemoteURI())) )); return amqpComponent; }
Example #5
Source File: K8ActiveMQComponent.java From funktion-connectors with Apache License 2.0 | 5 votes |
@Override public void setConfiguration(JmsConfiguration configuration) { if (configuration instanceof K8ActiveMQConfiguration) { ((K8ActiveMQConfiguration) configuration).setActiveMQComponent(this); } super.setConfiguration(configuration); }
Example #6
Source File: K8ActiveMQComponent.java From funktion-connectors with Apache License 2.0 | 5 votes |
@Override protected JmsConfiguration createConfiguration() { K8ActiveMQConfiguration answer = new K8ActiveMQConfiguration(); answer.setBrokerURL("tcp://"+answer.getServiceName() + ":" + answer.getPort()); answer.setActiveMQComponent(this); return answer; }
Example #7
Source File: ActiveMQComponent.java From servicemix with Apache License 2.0 | 4 votes |
public ActiveMQComponent(CamelContext camelContext, ConnectionFactory connectionFactory) { super(camelContext); setConfiguration(new JmsConfiguration(connectionFactory)); }