rh-integration / IntegrationApp-Automation

Sample Integration application along with lifecycle automation
Apache License 2.0
13 stars 9 forks source link

use qpid-jms to send messages to AMQ 7 broker, instead of openwire client #34

Open jirkadanek opened 5 years ago

jirkadanek commented 5 years ago

The qpid-jms client is the preferred client for use with AMQ 7 Broker in Java, because AMQP protocol clients should be preferred. Currently, OpenWire client is used.

https://access.redhat.com/documentation/en-us/red_hat_amq/7.4/html/amq_clients_overview/important_notes#preferred_clients

jirkadanek commented 5 years ago

There is the AMQ Spring Boot Starter; I am not sure if it works with Camel, though. https://access.redhat.com/documentation/en-us/red_hat_amq/7.4/html/using_the_amq_spring_boot_starter/index

osmman commented 5 years ago

There exists camel-amqp component [1] which uses qpid-jms client and should be used for communication with AMQ 7 Broker. You can use came-amqp-starter for SB.

I don't recommend to use AMQ Spring Boot Starter [2] because it is for AMQ 6.

[1] https://camel.apache.org/components/latest/amqp-component.html [2] https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-starters/spring-boot-starter-activemq/pom.xml#L27

redhatHameed commented 5 years ago

@jdanekrh Fixed in PR https://github.com/rh-integration/IntegrationApp-Automation/pull/37, could you please have a look

osmman commented 5 years ago

LGTM, thanks.