awslabs / awslabs/amazon-sqs-java-messaging-lib
Library latest version is not compatible with spring version 6.0.x
- Dominant language
- Java
- Stars
- 183
- Forks
- 150
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
im connecting to an weblogic with JMSTemplate and creating connection Factory but weblogic tired to use javax.jms.ConnectionFactory but JMSTemplate is using the Jakata, how do i resolve this ?
@Primary
@Bean
public JmsTemplate jmsTemplate2() {
JmsTemplate template = new JmsTemplate();
template.setConnectionFactory(jmsConnectionFactory2());
template.setDestinationResolver(jmsDestinationResolver2());
template.setPubSubDomain(false); // false for Queue, true for Topic
return template;
}
@Bean
public TransactionAwareConnectionFactoryProxy jmsConnectionFactory2() {
TransactionAwareConnectionFactoryProxy jmsConnectionFactory = new TransactionAwareConnectionFactoryProxy();
jmsConnectionFactory.setSynchedLocalTransactionAllowed(true);
jmsConnectionFactory.setTargetConnectionFactory(this.connectionFactoryAdapter2());
return jmsConnectionFactory;
}
Contributor guide
Assessment
This issue has not been assessed yet.