/*
 * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.wso2.carbon.messaging;

/**
 * Common constants used in message property.
 */
public final class Constants {

    public static final String DISRUPTOR = "Disruptor";

    public static final String PROTOCOL_NAME = "http";

    public static final String PROTOCOL = "PROTOCOL";

    public static final String HTTP_VERSION = "HTTP_VERSION";

    public static final String HTTP_METHOD = "HTTP_METHOD";

    public static final String HTTP_CONTENT_TYPE = "Content-Type";

    public static final String TEXT_XML = "text/xml";

    public static final String TEXT_PLAIN = "text/plain";

    public static final String APPLICATION_XML = "application/xml";

    public static final String GZIP = "gzip";

    public static final String HTTP_CONTENT_LENGTH = "Content-Length";

    public static final String HTTP_TRANSFER_ENCODING = "Transfer-Encoding";

    public static final String HTTP_CONNECTION = "Connection";

    public static final String KEEP_ALIVE = "keep-alive";

    public static final String HTTP_SOAP_ACTION = "SOAPAction";

    public static final String HTTP_CONTENT_ENCODING = "Accept-Encoding";

    public static final String HTTP_HOST = "Host";

    public static final String TRANSPORT_HEADERS = "TRANSPORT_HEADERS";

    public static final String HTTP_STATUS_CODE = "HTTP_STATUS_CODE";

    public static final String CHNL_HNDLR_CTX = "CHNL_HNDLR_CTX";

    public static final String SRC_HNDLR = "SRC_HNDLR";

    public static final String RESPONSE_CALLBACK = "RESPONSE_CALLBACK";

    public static final String HOST = "HOST";

    public static final String PORT = "PORT";

    public static final String TO = "TO";

    public static final String DIRECTION = "DIRECTION";

    public static final String DIRECTION_REQUEST = "DIRECTION_REQUEST";

    public static final String DIRECTION_RESPONSE = "DIRECTION_RESPONSE";

    public static final String CALL_BACK = "CALL_BACK";

    public static final String EXCHANGE = "EXCHANGE";

    public static final String LISTENER_PORT = "LISTENER_PORT";

    public static final String ERROR_MESSAGE = "ERROR_MESSAGE";

    public static final String ERROR_DETAIL = "ERROR_DETAIL";

    public static final String ERROR_CODE = "ERROR_CODE";

    public static final String ERROR_EXCEPTION = "ERROR_EXCEPTION";

    public static final String CERTPASS = "certPass";

    public static final String KEYSTOREPASS = "keyStorePass";

    public static final String KEYSTOREFILE = "keyStoreFile";

    public static final String TRUSTSTOREFILE = "trustStoreFile";

    public static final String TRUSTSTOREPASS = "trustStorePass";

    private Constants() {
    }
}

@@ -794,1327 +794,60 @@
  %7B%0A%0A
-    public static final String DISRUPTOR = %22Disruptor%22;%0A%0A    public static final String PROTOCOL_NAME = %22http%22;%0A%0A    public static final String PROTOCOL = %22PROTOCOL%22;%0A%0A    public static final String HTTP_VERSION = %22HTTP_VERSION%22;%0A%0A    public static final String HTTP_METHOD = %22HTTP_METHOD%22;%0A%0A    public static final String HTTP_CONTENT_TYPE = %22Content-Type%22;%0A%0A    public static final String TEXT_XML = %22text/xml%22;%0A%0A    public static final String TEXT_PLAIN = %22text/plain%22;%0A%0A    public static final String APPLICATION_XML = %22application/xml%22;%0A%0A    public static final String GZIP = %22gzip%22;%0A%0A    public static final String HTTP_CONTENT_LENGTH = %22Content-Length%22;%0A%0A    public static final String HTTP_TRANSFER_ENCODING = %22Transfer-Encoding%22;%0A%0A    public static final String HTTP_CONNECTION = %22Connection%22;%0A%0A    public static final String KEEP_ALIVE = %22keep-alive%22;%0A%0A    public static final String HTTP_SOAP_ACTION = %22SOAPAction%22;%0A%0A    public static final String HTTP_CONTENT_ENCODING = %22Accept-Encoding%22;%0A%0A    public static final String HTTP_HOST = %22Host%22;%0A%0A    public static final String TRANSPORT_HEADERS = %22TRANSPORT_HEADERS%22;%0A%0A    public static final String HTTP_STATUS_CODE = %22HTTP_STATUS_CODE%22;%0A%0A    public static final String CHNL_HNDLR_CTX = %22CHNL_HNDLR_CTX%22;%0A%0A    public static final String SRC_HNDLR = %22SRC_HNDLR
+%0A    public static final String PROTOCOL = %22PROTOCOL
 %22;%0A%0A
@@ -1698,321 +1698,8 @@
 %22;%0A%0A
-    public static final String CERTPASS = %22certPass%22;%0A%0A    public static final String KEYSTOREPASS = %22keyStorePass%22;%0A%0A    public static final String KEYSTOREFILE = %22keyStoreFile%22;%0A%0A    public static final String TRUSTSTOREFILE = %22trustStoreFile%22;%0A%0A    public static final String TRUSTSTOREPASS = %22trustStorePass%22;
 %0A%0A  

Remove protocol specific constants from Carbon Messaging