Home » synapse-1.2-src » org.apache.synapse.transport.fix » [javadoc | source]

    1   /*
    2    *  Licensed to the Apache Software Foundation (ASF) under one
    3    *  or more contributor license agreements.  See the NOTICE file
    4    *  distributed with this work for additional information
    5    *  regarding copyright ownership.  The ASF licenses this file
    6    *  to you under the Apache License, Version 2.0 (the
    7    *  "License"); you may not use this file except in compliance
    8    *  with the License.  You may obtain a copy of the License at
    9    *
   10    *   http://www.apache.org/licenses/LICENSE-2.0
   11    *
   12    *  Unless required by applicable law or agreed to in writing,
   13    *  software distributed under the License is distributed on an
   14    *   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   15    *  KIND, either express or implied.  See the License for the
   16    *  specific language governing permissions and limitations
   17    *  under the License.
   18    */
   19   
   20   package org.apache.synapse.transport.fix;
   21   
   22   public class FIXConstants {
   23       //----------------------------Defaults parameters-----------------------------------
   24   
   25       public static final String FIX_PREFIX = "fix://";
   26       public static final String TRANSPORT_NAME = "fix";
   27   
   28       public static final String FIX_ACCEPTOR = "acceptor";
   29       public static final String FIX_INITIATOR = "initiator";
   30       public static final String FIX_MESSAGE = "message";
   31       public static final String FIX_FIELD = "field";
   32       public static final String FIX_HEADER = "header";
   33       public static final String FIX_BODY = "body";
   34       public static final String FIX_TRAILER = "trailer";
   35       public static final String FIX_FIELD_ID = "id";
   36       public static final String FIX_MESSAGE_SERVICE = "service";
   37       public static final String FIX_MESSAGE_APPLICATION = "fixApplication";
   38       public static final String FIX_BINARY_FIELD = "rawdata";
   39       public static final String FIX_MESSAGE_REFERENCE = "href";
   40       public static final String FIX_MESSAGE_COUNTER = "counter";
   41       public static final String FIX_MESSAGE_INCOMING_SESSION = "inSession";
   42   
   43       public static final String FILE_BASED_MESSAGE_LOGGING = "file";
   44       public static final String JDBC_BASED_MESSAGE_LOGGING = "jdbc";
   45       public static final String CONSOLE_BASED_MESSAGE_LOGGING = "console";
   46   
   47       public static final String FILE_BASED_MESSAGE_STORE = "file";
   48       public static final String JDBC_BASED_MESSAGE_STORE = "jdbc";
   49       public static final String MEMORY_BASED_MESSAGE_STORE = "memory";
   50       public static final String SLEEPYCAT_BASED_MESSAGE_STORE = "sleepycat";
   51   
   52       public static final long DEFAULT_HEART_BT_INT_VALUE = 30;
   53       public static final String DEFAULT_START_TIME_VALUE = "00:00:00";
   54       public static final String DEFAULT_END_TIME_VALUE = "00:00:00";
   55   
   56       public static final String HEART_BY_INT = "HeartBtInt";
   57       public static final String BEGIN_STRING = "BeginString";
   58       public static final String SENDER_COMP_ID = "SenderCompID";
   59       public static final String TARGET_COMP_ID = "TargetCompID";
   60       public static final String SENDER_SUB_ID = "SenderSubID";
   61       public static final String TARGET_SUB_ID = "TargetSubID";
   62       public static final String SENDER_LOCATION_ID = "SenderLocationID";
   63       public static final String TARGET_LOCATION_ID = "TargetLocationID";
   64       public static final String SESSION_QUALIFIER = "SessionQualifier";
   65       public static final String SOCKET_CONNECT_HOST = "SocketConnectHost";
   66       public static final String SOCKET_CONNECT_PORT = "SocketConnectPort";
   67       public static final String START_TIME = "StartTime";
   68       public static final String END_TIME = "EndTime";
   69       public static final String CONNECTION_TYPE = "ConnectionType";
   70       public static final String DELIVER_TO_COMP_ID = "DeliverToCompID";
   71       public static final String DELIVER_TO_SUB_ID = "DeliverToSubID";
   72       public static final String DELIVER_TO_LOCATION_ID = "DeliverToLocationID";
   73       public static final String ON_BEHALF_OF_COMP_ID = "OnBehalfOfCompID";
   74       public static final String ON_BEHALF_OF_SUB_ID = "OnBehalfOfSubID";
   75       public static final String ON_BEHALF_OF_LOCATION_ID = "OnBehalfOfLocationID";
   76   
   77       public static final String FIX_DEFAULT_CONTENT_TYPE = "text/xml";
   78   
   79   
   80       //-------------------------- services.xml parameters --------------------------------
   81   
   82       public static final String FIX_ACCEPTOR_CONFIG_URL_PARAM = "transport.fix.AcceptorConfigURL";
   83       public static final String FIX_INITIATOR_CONFIG_URL_PARAM = "transport.fix.InitiatorConfigURL";
   84   
   85       public static final String FIX_ACCEPTOR_LOGGER_PARAM = "transport.fix.AcceptorLogFactory";
   86       public static final String FIX_INITIATOR_LOGGER_PARAM = "transport.fix.InitiatorLogFactory";
   87   
   88       public static final String FIX_ACCEPTOR_MESSAGE_STORE_PARAM = "transport.fix.AcceptorMessageStore";
   89       public static final String FIX_INITIATOR_MESSAGE_STORE_PARAM = "transport.fix.InitiatorMessageStore";
   90   
   91       public static final String FIX_RESPONSE_DELIVER_TO_COMP_ID_PARAM = "transport.fix.ResponseDeliverToCompID";
   92       public static final String FIX_RESPONSE_DELIVER_TO_SUB_ID_PARAM = "transport.fix.ResponseDeliverToSubID";
   93       public static final String FIX_RESPONSE_DELIVER_TO_LOCATION_ID_PARAM = "transport.fix.ResponseDeliverToLocationID";
   94   
   95       public static final String FIX_SERVICE_NAME = "transport.fix.ServiceName";
   96   
   97       public static final String FIX_RESPONSE_HANDLER_APPROACH = "transport.fix.SendAllToInSequence";
   98   
   99   }

Home » synapse-1.2-src » org.apache.synapse.transport.fix » [javadoc | source]