JmsContext.h File Reference

Describes a JmsConsumer handle. More...

#include <JmsCommon.h>

Go to the source code of this file.


Typedefs

typedef JmsContext JmsContext

Functions

int JMSENTRY JmsContextCreate (JmsString *uri, JmsString *jndiFactory, JmsString *username, JmsString *password, JmsContext **context, JMS64I flags)
int JMSENTRY JmsContextDestroy (JmsContext *context, JMS64I flags)

Detailed Description

Describes a JmsConsumer handle.

This file describes the functions that can be performed on a JmsConsumer handle A JmsContext handle is used to get access to the JMS provider

Author:
Copyright (c) 2002, BEA Systems, Inc.

Typedef Documentation

typedef struct JmsContext JmsContext
 

A context handle that is used to get access to the JMS provider


Function Documentation

int JMSENTRY JmsContextCreate JmsString   uri,
JmsString   jndiFactory,
JmsString   username,
JmsString   password,
JmsContext **    context,
JMS64I    flags
 

Gets a context handle with the given properties

Parameters:
uri  The URI of the JMS provider instance. If NULL, this defaults to "t3://localhost:7001"
jndiFactory  The name of the jndi factory to use in order to get the initial context. If NULL, defaults to "weblogic.jndi.WLInitialContextFactory"
username  The name to use when logging in to the JMS provider
password  The password to use as authentication material
context  May not be NULL. On success *context will point to a valid context handle
flags  Reserved for future use. Must be zero
Returns:
  • JMS_NO_ERROR
  • JMS_GOT_EXCEPTION
  • JMS_INPUT_PARAM_ERROR
  • JMS_MALLOC_ERROR
  • JMS_JVM_ERROR

int JMSENTRY JmsContextDestroy JmsContext   context,
JMS64I    flags
 

Destroys a context handle

Parameters:
context  Must be a valid context handle. May not be NULL
flags  Reserved for future use. Must be zero

Contact Oracle    Legal Notices    Copyright 1996,2011. Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server JMS C API Reference
12c Release 1 (12.1.1)

Part Number E24392-01


Generated by doxygen 1.2.18