    001    /*
    002     * Copyright 2009 Red Hat, Inc.
    003     * Red Hat licenses this file to you under the Apache License, version
    004     * 2.0 (the "License"); you may not use this file except in compliance
    005     * with the License.  You may obtain a copy of the License at
    006     *    http://www.apache.org/licenses/LICENSE-2.0
    007     * Unless required by applicable law or agreed to in writing, software
    008     * distributed under the License is distributed on an "AS IS" BASIS,
    009     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
    010     * implied.  See the License for the specific language governing
    011     * permissions and limitations under the License.
    012     */
    013
    014    package org.hornetq.api.jms;
    015
    016    /**
    017     * Constants for HornetQ for property keys used for HornetQ specific extensions to JMS.
    018     *
    019     * @author Tim Fox
    020     *
    021     *
    022     */
    023    public class HornetQJMSConstants
    024    {
    025       public static final String JMS_HORNETQ_INPUT_STREAM = "JMS_HQ_InputStream";
    026
    027       public static final String JMS_HORNETQ_OUTPUT_STREAM = "JMS_HQ_OutputStream";
    028
    029       public static final String JMS_HORNETQ_SAVE_STREAM = "JMS_HQ_SaveStream";
    030
    031       public static final String JBOSS_MESSAGING_BRIDGE_MESSAGE_ID_LIST = "HQ_BRIDGE_MSG_ID_LIST";
    032
    033       public static final int PRE_ACKNOWLEDGE = 100;
    034
    035       public static final String JMS_HORNETQ_ENABLE_BYTE_ARRAY_JMS_CORRELATION_ID_PROPERTY_NAME =
    036          "hq.jms.support-bytes-id";
    037    }