Skip to content
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

Wildfly JMS Client Configuration for JDK11 #120

Open
Syed-SnapLogic opened this issue Apr 9, 2024 · 1 comment
Open

Wildfly JMS Client Configuration for JDK11 #120

Syed-SnapLogic opened this issue Apr 9, 2024 · 1 comment

Comments

@Syed-SnapLogic
Copy link

Hello,
I have a sample java program talking to redhat artemis via wildfly java library. https://github.com/wildfly/quickstart/blob/main/helloworld-jms/src/test/java/org/jboss/as/quickstarts/jms/HelloWorldJMSClientIT.java

If I run the above program in JDK8 then its working fine.
But if I run the same program in JDK11 then it fails while executing this line line:
context.lookup("jms/remoteConnectionFactory")

It fails with the error below:
Invalid URL Scheme "null "`

Looks like in JDK11, the following code creates an instance of ReparsedName with urlScheme being null.
https://github.com/wildfly/wildfly-naming-client/blob/main/src/main/java/org/wildfly/naming/client/WildFlyRootContext.java#L814

Can you help me fix the above problem? Do you have a working jms client example for JDK11 using this wildfly client library?

@Syed-SnapLogic
Copy link
Author

@jmesnil @kabir @dmlloyd @n1hility, any response to my question pls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant