Skip navigation.
Downloads | Product Documentation | Support

# JmsDestination.h File Reference

Describes a JmsDestination handle. More...

`#include <JmsCommon.h>`
`#include <JmsContext.h>`
`#include <JmsTypes.h>`

Go to the source code of this file.

## Typedefs
typedef JmsDestination | JmsDestination
## Functions
int JMSENTRY | JmsDestinationCreate (JmsContext *context, JmsString *name, JmsDestination **destination, JMS64I flags)
int JMSENTRY | JmsDestinationDestroy (JmsDestination *destination, JMS64I flags)

## Detailed Description

Describes a JmsDestination handle.

This file describes the functions that can be performed on a JmsDestination handle A JmsDestination handle corresponds to javax.jms.Destination

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

## Typedef Documentation

typedef struct JmsDestination JmsDestination

| A destination handle that represents the class javax.jms.Destination

## Function Documentation

int JMSENTRY JmsDestinationCreate | ( | JmsContext * | context,
|  | JmsString * | name,
|  | JmsDestination ** | destination,
|  | JMS64I | flags
| ) |

  | Gets a destination handle from the given context with the given name Parameters:
  context | Must be a valid context handle. May not be NULL
  name | The JNDI name of the destination to create. May not be NULL
  destination | May not be NULL. On success, *destination will contain a valid destination 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 JMS_NEED_SPACE

int JMSENTRY JmsDestinationDestroy | ( | JmsDestination * | destination,
|  | JMS64I | flags
| ) |

  | Destroys a destination handle Parameters:
  destination | Must be a valid destination handle. May not be NULL
  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 JMS_NEED_SPACE

Copyright 1996,2008, 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.