Simon Martinelli, 72 Services LLC
2018-08-09 09:05:10 UTC
Hi,
I configured a Netty http acceptor in my ActiveMQ Artemis Broker.
According to the Artemis examples I must add ?httpEnabled=true to enable HTTP.
I'm using Spring Boot and create a ActiveMQComponent like this:
@Bean
public ActiveMQComponent activemqAmazon() {
ActiveMQComponent activeMQComponent = new ActiveMQComponent();
activeMQComponent.setBrokerURL("tcp://amazonaws.com:8080?httpEnabled=true");
return activeMQComponent;
}
But then I get:
javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {httpEnabled=true}
Any help is appreciated.
Thanks, Simon
I configured a Netty http acceptor in my ActiveMQ Artemis Broker.
According to the Artemis examples I must add ?httpEnabled=true to enable HTTP.
I'm using Spring Boot and create a ActiveMQComponent like this:
@Bean
public ActiveMQComponent activemqAmazon() {
ActiveMQComponent activeMQComponent = new ActiveMQComponent();
activeMQComponent.setBrokerURL("tcp://amazonaws.com:8080?httpEnabled=true");
return activeMQComponent;
}
But then I get:
javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {httpEnabled=true}
Any help is appreciated.
Thanks, Simon