-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Artemis Resource Adapter support #341
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I think @vsevel might have some changes to add to the ArtemisResourceAdapterFactory
to meet his requirements, so better wait for his feedback before merging or incorporating this in the next release
Sure, I'm still working on some docs. |
hello @gastaldi and @zhfeng nice addition! |
Thanks @vsevel and I wonder if ther is a chance to add a test for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still some open questions I have. Some are mentioned in my review comment. I think it currently boils down to the fact that we are missing documentation for this feature.
Major questions I have:
- How does
quarkus-ironjacamar
interact withpooled-jms
? Do they interact? Do they interfer? - I see that an
XAConnectionFactory
is provided by the extension. Does XA "just work"?
One major remark I have: there are still some things commented-out (mainly in the application.properties
of the integration test). Can we remove them?
If I read the code correctly, it seems like we are missing support for devservices. I think that this should be feasible by iterating over all ironjacamar configurations ans look for the ones with kind="Artemis"
. This should probably be a separate issue.
integration-tests/ra/src/test/java/io/quarkus/it/artemis/ra/JcaResourceTest.java
Outdated
Show resolved
Hide resolved
integration-tests/ra/src/main/java/io/quarkus/it/artemis/ra/MyQueueMessageEndpoint.java
Show resolved
Hide resolved
integration-tests/ra/src/test/java/io/quarkus/it/artemis/ra/MetricsTest.java
Show resolved
Hide resolved
integration-tests/ra/src/test/java/io/quarkus/it/artemis/ra/TransactionTest.java
Outdated
Show resolved
Hide resolved
I believe they are different things.
That's up to the Resource adapter implementation. The ironjacamar extension enlists them in a similar way as it's done in WildFly, so it should just work™ |
This comment has been minimized.
This comment has been minimized.
27d8a07
to
2b41ba0
Compare
This comment has been minimized.
This comment has been minimized.
2b41ba0
to
dc7c70c
Compare
This comment has been minimized.
This comment has been minimized.
you need to start a cluster, connect, shut down one server, restart the stopped server, make sure you have connections on both servers again. |
This comment has been minimized.
This comment has been minimized.
@vsevel is there any way to start a MQ cluster by using docker? |
This comment has been minimized.
This comment has been minimized.
public void retryMessagesOnRollback() { | ||
// @formatter:off | ||
RestAssured | ||
.given() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the empty .given()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I think it is needes here because there is "formParm(...)".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh true!
Could you either pull formParam(...)
up (preferred) or indent it?
...eployment/src/main/java/io/quarkus/artemis/core/deployment/ArtemisBootstrappedBuildItem.java
Outdated
Show resolved
Hide resolved
...ployment/src/main/java/io/quarkus/artemis/core/deployment/health/ArtemisHealthProcessor.java
Outdated
Show resolved
Hide resolved
...rc/main/java/io/quarkus/artemis/core/deployment/health/ExtraArtemisHealthCheckBuildItem.java
Show resolved
Hide resolved
integration-tests/jms/with-default-and-external/src/main/resources/application.properties
Show resolved
Hide resolved
integration-tests/ra/src/test/java/io/quarkus/it/artemis/ra/DisableAllServices.java
Outdated
Show resolved
Hide resolved
integration-tests/ra/src/test/java/io/quarkus/it/artemis/ra/DisableDataBaseService.java
Outdated
Show resolved
Hide resolved
The native build failure is related to |
b04df1b
to
6e2e369
Compare
This comment has been minimized.
This comment has been minimized.
ra/runtime/src/main/java/io/quarkus/artemis/jms/ra/ArtemisResourceAdapterFactory.java
Outdated
Show resolved
Hide resolved
6e2e369
to
545d436
Compare
This comment has been minimized.
This comment has been minimized.
545d436
to
d90f72b
Compare
Suppress #339
Fixes #257
Following issue: