quarkiverse / quarkus-artemis

Quarkus Artemis extensions
Apache License 2.0
12 stars 13 forks source link

Add camel-based artemis-jms tests to camel-quarkus #158

Open turing85 opened 1 year ago

turing85 commented 1 year ago

We have some integration test to test integration with camel-quarkus. To detect integration problems early, we would like to also add them to the camel-quarkus-project.

Considerations:

Discussion:

turing85 commented 1 year ago

since quarkus-artemis provides the implementation used by quarkus-camel, I tend to say that quarkus-artemis should be the owner, and quarkus-camel the user.

With regards to the ingeration options, I favor the 2nd approach. While submodules are a quick win, it is too limiting and introduces too much maintenance overhead and friction.

middagj commented 1 year ago

I think the owner should be Camel, as they are using Artemis as a dependency and are probably best in to come up with the broadest test. But I can also see the other way and the reasoning.

As for the approaches, I favor the second approach as well. I would even be fine with an even simpler approach:

turing85 commented 1 year ago

Thanks @middagj, added it to the list above.

turing85 commented 1 year ago

Here's another idea (not 100% sure if this will work):

This would entail:

@middagj @zhfeng do you think that this could work?

zhfeng commented 1 year ago

@turing85 I think it could work. But I'm not sure how to override in client-side?

turing85 commented 1 year ago

@turing85 I think it could work. But I'm not sure how to override in client-side?

@zhfeng The versions should be overridable; the tests themselves are not modifiable. We can - of course - add additional tests. This would pretty much follow the open-close principle (en.wikipedia.org):

Be open for extension, but closed for modification.

A benefit would be that this ensures that camel and quarkus-artemis use the same exact tests.