本文整理汇总了Java中org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer类的典型用法代码示例。如果您正苦于以下问题:Java DefaultJmsListenerContainerFactoryConfigurer类的具体用法?Java DefaultJmsListenerContainerFactoryConfigurer怎么用?Java DefaultJmsListenerContainerFactoryConfigurer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DefaultJmsListenerContainerFactoryConfigurer类属于org.springframework.boot.autoconfigure.jms包,在下文中一共展示了DefaultJmsListenerContainerFactoryConfigurer类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: myFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> myFactory(ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
configurer.configure(factory, connectionFactory);
return factory;
}
开发者ID:Estafet-LTD,项目名称:estafet-microservices-scrum-api-project-burndown,代码行数:8,代码来源:Application.java
示例2: myFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> myFactory(ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
configurer.configure(factory, connectionFactory);
return factory;
}
开发者ID:LIBCAS,项目名称:ARCLib,代码行数:8,代码来源:JmsConfig.java
示例3: myFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> myFactory(ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
// This provides all boot's default to this factory, including the message converter
configurer.configure(factory, connectionFactory);
// You could still override some of Boot's default if necessary.
return factory;
}
开发者ID:opentracing-contrib,项目名称:java-spring-cloud,代码行数:10,代码来源:JmsTest.java
示例4: asyncEngineFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> asyncEngineFactory(ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
// This provides all boot's default to this factory, including the message converter
configurer.configure(factory, connectionFactory);
// You could still override some of Boot's default if necessary.
return factory;
}
开发者ID:ftsakiris,项目名称:async-engine,代码行数:10,代码来源:Application.java
示例5: myFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> myFactory(ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
// This provides all boot's default to this factory, including the message converter
configurer.configure(factory, connectionFactory);
// You could still override some of Boot's default if necessary.
return factory;
}
开发者ID:wallerlab,项目名称:reaktor,代码行数:10,代码来源:Config.java
示例6: jmsListenerContainerFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> jmsListenerContainerFactory(ConnectionFactory jmsConnectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer){
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
configurer.configure(factory, jmsConnectionFactory);
return factory;
}
开发者ID:wallerlab,项目名称:reaktor,代码行数:9,代码来源:Config.java
示例7: myJMSFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
/**
* <p>myJMSFactory.</p>
*
* @param connectionFactory a {@link javax.jms.ConnectionFactory} object.
* @param configurer a
* {@link org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer}
* object.
* @return a {@link org.springframework.jms.config.JmsListenerContainerFactory}
* object.
*/
@Bean
public JmsListenerContainerFactory<DefaultMessageListenerContainer> myJMSFactory(
ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
final DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
// This provides all boot's default to this factory, including the message
// converter
configurer.configure(factory, connectionFactory);
// You could still override some of Boot's default if necessary.
return factory;
}
开发者ID:rajadilipkolli,项目名称:POC,代码行数:22,代码来源:JMSApplicationConfig.java
示例8: myFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> myFactory(ConnectionFactory connectionFactory,
DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
// This provides all boot's default to this factory, including the message converter
configurer.configure(factory, connectionFactory);
// You could still override some of Boot's default if necessary.
return factory;
}
开发者ID:jangalinski,项目名称:springbootcamp,代码行数:10,代码来源:ActiveMqApplication.java
示例9: jmsListenerContainerFactory
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; //导入依赖的package包/类
@Bean
public JmsListenerContainerFactory<?> jmsListenerContainerFactory(ConnectionFactory connectionFactory, DefaultJmsListenerContainerFactoryConfigurer configurer) {
DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
configurer.configure(factory, connectionFactory);
return factory;
}
开发者ID:creactiviti,项目名称:piper,代码行数:7,代码来源:JmsMessengerConfiguration.java
注:本文中的org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论