/******************************************************************************* * Copyright (c) 2007-2008 Cambridge Semantics Incorporated. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Created by: Ben Szekely ( <a href="mailto:ben@cambridgesemantics.com">ben@cambridgesemantics.com </a>) * Created on: Oct 10, 2007 * * Contributors: * Cambridge Semantics Incorporated - initial API and implementation *******************************************************************************/ package org.openanzo.combus.bayeux; /** * * @author Ben Szekely (<a href="mailto:ben@cambridgesemantics.com">ben@cambridgesemantics.com</a>) * @author Jordi Albornoz Mulligan (<a href="mailto:jordi@cambridgesemantics.com">jordi@cambridgesemantics.com</a>) */ interface BayeuxJMSConstants { public static final String CHANNEL_CONTROL = "/anzo/control"; public static final String CHANNEL_BRIDGE = "/anzo/bridge"; public static final String CHANNEL_USER_PREFIX = "/anzo/user/"; public static final String CONTROL_MSG_PROTOCOL_VERSION = "protocolVersion"; public static final String CONTROL_MSG_CONTROL_TYPE = "type"; public static final String CONTROL_MSG_CORRELATION_ID = "correlationId"; public static final String CONTROL_MSG_STATUS = "status"; public static final String CONTROL_MSG_ERROR_MESSSAGE = "errorMessage"; public static final String CONTROL_MSG_TOPICS = "topics"; public static final String CONTROL_MSG_USER_IS_SYSADMIN = "isSysadmin"; public static final String CONTROL_MSG_USER_ROLES = "userRoles"; public static final String CONTROL_MSG_USER_URI = "userUri"; public static final String JMS_MSG_DESTINATION = "destination"; public static final String JMS_MSG_BODY = "body"; public static final String JMS_MSG_PROPERTIES = "properties"; public static final String JMS_MSG_PROPERTY_CORRELATION_ID = "JMSCorrelationID"; public static final String JMS_MSG_PROPERTY_PRIORITY = "JMSPriority"; public static final String JMS_MSG_PROPERTY_TYPE = "type"; public static final String JMS_MSG_PROPERTY_TOPIC = "topic"; public static final String MSG_TYPE_TOPIC_MESSAGE = "topicMessage"; public static final String CONTROL_TYPE_CONNECT = "connect"; public static final String CONTROL_TYPE_TOPIC_SUBSCRIBE = "topicSubscribe"; public static final String CONTROL_TYPE_TOPIC_UNSUBSCRIBE = "topicUnsubscribe"; public static final String CONNECTION_STATUS_CONNECTED = "connected"; public static final String CONNECTION_STATUS_FAILED = "failed"; public static final String PUBLISH_STATUS_FAILED = "failed"; public static final String PUBLISH_STATUS_SUCCESS = "success"; public static final String TOPIC_SUBSCRIBE_STATUS_FAILED = "failed"; public static final String TOPIC_SUBSCRIBE_STATUS_SUCCESS = "success"; public static final String TOPIC_SUBSCRIBE_FAILED_TOPICS = "failedTopics"; public static final String TOPIC_SUBSCRIBE_TOPIC_ERRORS = "topicErrors"; public static final String STATUS_BAD_REQUEST = "badRequest"; }