001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one or more
003     * contributor license agreements.  See the NOTICE file distributed with
004     * this work for additional information regarding copyright ownership.
005     * The ASF licenses this file to You under the Apache License, Version 2.0
006     * (the "License"); you may not use this file except in compliance with
007     * the License.  You may obtain a copy of the License at
008     *
009     *      http://www.apache.org/licenses/LICENSE-2.0
010     *
011     * Unless required by applicable law or agreed to in writing, software
012     * distributed under the License is distributed on an "AS IS" BASIS,
013     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     * See the License for the specific language governing permissions and
015     * limitations under the License.
016     */
017    package org.apache.servicemix;
018    
019    public interface JbiConstants {
020    
021        String SEND_SYNC = "javax.jbi.messaging.sendSync";
022    
023        String PROTOCOL_TYPE = "javax.jbi.messaging.protocol.type";
024    
025        String PROTOCOL_HEADERS = "javax.jbi.messaging.protocol.headers";
026    
027        String SECURITY_SUBJECT = "javax.jbi.security.subject";
028    
029        String SOAP_HEADERS = "org.apache.servicemix.soap.headers";
030    
031        String PERSISTENT_PROPERTY_NAME = "org.apache.servicemix.persistent";
032    
033        String DATESTAMP_PROPERTY_NAME = "org.apache.servicemix.datestamp";
034    
035        String FLOW_PROPERTY_NAME = "org.apache.servicemix.flow";
036    
037        String STATELESS_CONSUMER = "org.apache.servicemix.consumer.stateless";
038    
039        String STATELESS_PROVIDER = "org.apache.servicemix.provider.stateless";
040    
041        String SENDER_ENDPOINT = "org.apache.servicemix.senderEndpoint";
042    
043        String HTTP_DESTINATION_URI = "org.apache.servicemix.http.destination.uri";
044    
045        /**
046         * This property should be set when a consumer endpoint creates an exchange
047         * related to another provider exchange. The value of the property should be
048         * set to the value of this property in the provider exchange, or to the id
049         * of the provider exchange if the property does not exist.
050         */
051        String CORRELATION_ID = "org.apache.servicemix.correlationId";
052    
053        /**
054         * Constant for JMS Message Priority.
055         */
056        String MESSAGE_PRIORITY = "org.apache.servicemix.jms.messagePriority";
057    }