quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.84k stars 2.7k forks source link

IBM MQ integration extension #15655

Open bartekkocik opened 3 years ago

bartekkocik commented 3 years ago

Official transactional IBM MQ integration extension.

Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).

Configuration suggestion

mq:
  manager: "mocked.manager"
  channel: "mocked.channel"
  port: 1414
  host: "mocked.address"
  queue:
    name: "queue.name"

Additional context https://stackoverflow.com/questions/60259012/quarkus-ibm-mq-integration

coiouhkc commented 3 years ago

Hi all, i'd like to create this extension, based on the post mentioned above and using https://github.com/quarkiverse/quarkus-rabbitmq-client as reference.

coiouhkc commented 3 years ago

Possible solution:

Open questions/ caveats

coiouhkc commented 3 years ago

/cc @gsmet

onrclk commented 3 years ago

Hi all, according to https://stackoverflow.com/questions/60885669/quarkus-ibm-mq-extension it's not possible with Quarkus extension. That guy is a MQ developer and writer of the link below. what do you think ? is AMQP only solution to for IBM MQ with Quarkus in native environment ?

https://developer.ibm.com/tutorials/mq-running-ibm-mq-apps-on-quarkus-and-graalvm-using-qpid-amqp-jms-classes/

coiouhkc commented 3 years ago

Looks like it, see reply to my post from @cescoffier https://github.com/smallrye/smallrye-reactive-messaging/issues/1296#issuecomment-875863111

onrclk commented 3 years ago

@coiouhkc unfortunately, it doesnt work with native build.

cescoffier commented 3 years ago

MQ does support AMQP 1.0. We are doing some testing, but soon, you will be able to use the AMQP 1.0 connector to communicate with MQ. This way works in native.

mkouba commented 2 years ago

MQ does support AMQP 1.0. We are doing some testing, but soon, you will be able to use the AMQP 1.0 connector to communicate with MQ. This way works in native.

Does it mean that the MQ extension will not be needed anymore?

cescoffier commented 2 years ago

Our last discussion with the MQ team was to use the AMQP 1.0 connector.

mkouba commented 2 years ago

Our last discussion with the MQ team was to use the AMQP 1.0 connector.

@bartekkocik @coiouhkc @onrclk FYI

quarkus-bot[bot] commented 2 years ago

/cc @aloubyansky, @gastaldi, @gsmet, @maxandersen

zhfeng commented 1 year ago

We want to support XA transaction by using IBMMQ client in camel-quarkus. It seems that AMQP connector does not support XA. So does it still make sense to introduce such a quarkiverse extensionfor IBM MQ client?

cescoffier commented 1 year ago

Yes, if you need XA, you will need a specific extension.

turing85 commented 7 months ago

The aforementioned stackoverflow.com post has an answer (stackoverflow.com) that suggests OP got it working. The answer on its own, however, does not demonstrate what is necessary (If I try to use the approach with camel, I get some errors when compiling natively, complaining about mbeans being present). I'll try to get a hold of OP's complete solution to take a look what they have done to get it working.