use of org.springframework.jms.remoting.JmsInvokerProxyFactoryBean in project tutorials by eugenp.
the class JmsClient method invoker.
@Bean
FactoryBean invoker(ConnectionFactory factory, Queue queue) {
JmsInvokerProxyFactoryBean factoryBean = new JmsInvokerProxyFactoryBean();
factoryBean.setConnectionFactory(factory);
factoryBean.setServiceInterface(CabBookingService.class);
factoryBean.setQueue(queue);
return factoryBean;
}
Aggregations