public class Endpoint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Endpoint.Type |
| Modifier and Type | Field and Description |
|---|---|
static Endpoint |
TEMPORARY_QUEUE |
static Endpoint |
TEMPORARY_TOPIC |
| Constructor and Description |
|---|
Endpoint(Endpoint.Type type,
String name) |
Endpoint(Endpoint.Type type,
String name,
boolean isTemp) |
Endpoint(String destination)
An endpoint as specified in URI format: "type://name"
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
Endpoint.Type |
getType() |
int |
hashCode() |
boolean |
isTemporary() |
String |
toString() |
public static final Endpoint TEMPORARY_QUEUE
public static final Endpoint TEMPORARY_TOPIC
public Endpoint(String destination) throws IllegalArgumentException
destination - the endpointIllegalArgumentException - invalid or null destination stringpublic Endpoint(Endpoint.Type type, String name)
public Endpoint(Endpoint.Type type, String name, boolean isTemp)
public Endpoint.Type getType()
public String getName()
public boolean isTemporary()
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.