Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

JMS code does not work

Bhautesh VedMar 28 2024

I am learning JMS. I am getting a javax.jms.MessageFormatRuntimeException when executing ClaimManagement.java. I am attaching my code(ClaimsManagement.java, Claims.java, jndi.properties and pom.xml) as text files.

I get this exception when I use the LIKE operator on line 26 of ClaimManagement.java. This exception does not occur when using an equal to condition such as doctorName='John'.

Also attached are the Execution result and a screenshot of the Eclipse Package explorer.

I would appreciate any help on resolving this issue.

Claim.txt

ClaimManagement.txt

Execution Result.txt

jndi.txt

pom.txt

Eclipse Package Explorer.JPG

Comments
Post Details
Added on Mar 28 2024
1 comment
32 views