It is not possible to connect to an ActiveMQ broker via the AMQP transport when using the Generic JMS Adapter with the ActiveMQ client libraries. The following exception is retuned in the Generic JMS Adapter server log file:
Caused by: org.apache.activemq.transport.InactivityIOException: Channel was inactive for too (>30000) long: tcp://127.0.0.1:5672
at org.apache.activemq.transport.amqp.AmqpInactivityMonitor$1$1.run(AmqpInactivityMonitor.java:69)
According to the exception in the Generic JMS Adapter server log file, it is trying to connect via the TCP transport (e.g.
tcp://127.0.0.1:5672) instead of the AMQP transport (e.g.
amqp://127.0.0.1:5672).