My Oracle Support Banner

C API for JMS - Close/Destroy JMS Objects in C Application (Doc ID 1328502.1)

Last updated on JUNE 04, 2024

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.


JmsTextMessage is used to put Messages into the JMS Queue.

As per documentation, it states:

All resources that you allocate must also be disposed of it properly. In Java, garbage collection cleans up all objects that are no longer referenced. However, in C, all objects must be explicitly cleaned up. All WebLogic JMS C API handles given to the user must be explicitly destroyed. Notice that some handles have a verb that ends in Close while others end in Destroy. This convention distinguishes between Java objects that have a close method and those that do not. Example: 


What method can be used to destroy JmsTextMessage?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.