WebLogic Messaging API Class Library

ISession.CreateTopic\xA0Method\xA0

Creates a topic identity given a ITopic name.

This facility is provided for the rare cases where clients need to dynamically manipulate topic identity. This allows the creation of a topic identity with a provider-specific name. Clients that depend on this ability are not portable.

Note that this method is not for creating the physical topic. The physical creation of topics is an administrative task and is not initiated by the JMS API.

ITopic\xA0CreateTopic(
\xA0\xA0\xA0String\xA0topicName
);

Parameters

String
the name of this ITopic

Return Value

An ITopic with the given name

Exceptions

Exception TypeCondition
MessageExceptionif the session fails to create a topic due to some internal error.

See Also

ISession Interface | WebLogic.Messaging Namespace