If I’m understanding you correctly, you’re trying to create a Camel ActiveMQCompoent - which is a specialized implementation of the Camel JMS component for ActiveMQ 5.x. So I don’t think you have access to the Netty HTTP transport for Artemis using this component - maybe try Camel JMS?
> On Aug 10, 2018, at 8:21 AM, Simon Martinelli, 72 Services LLC > <[email protected]> wrote: > > Hi Quinn, > > It's an option of Artemis https://activemq.apache.org/artemis/ to connect to > Netty using a HTTP tunnel. > > Thanks, Simon > > -----Original Message----- > From: Quinn Stevenson <[email protected]> > Sent: Freitag, 10. August 2018 16:08 > To: [email protected] > Subject: Re: How to use ActiveMQ Artemis through HTTP tunnel > > Just a guess - but I don’t think httpEnabled is a valid option for an > ActiveMQ openwire connection - at least I don’t see it here > http://activemq.apache.org/connection-configuration-uri.html > <http://activemq.apache.org/connection-configuration-uri.html> > >> On Aug 9, 2018, at 3:05 AM, Simon Martinelli, 72 Services LLC >> <[email protected]> wrote: >> >> 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 >
