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.camel.loanbroker.webservice.version;
018    
019    public interface Constants {
020    
021        String LOANBROKER_ADDRESS = "http://localhost:9008/loanBroker";
022        String PARALLEL_LOANBROKER_ADDRESS = "http://localhost:9008/parallelLoanBroker";
023        String CREDITAGENCY_ADDRESS = "http://localhost:9006/creditAgency";
024        String BANK1_ADDRESS = "http://localhost:9001/bank1";
025        String BANK2_ADDRESS = "http://localhost:9002/bank2";
026        String BANK3_ADDRESS = "http://localhost:9003/bank3";
027    
028        String LOANBROKER_SERVICE_CLASS = "org.apache.camel.loanbroker.webservice.version.LoanBrokerWS";
029        String CREDITAGENCY_SERVICE_CLASS = "org.apache.camel.loanbroker.webservice.version.credit.CreditAgencyWS";
030        String BANK_SERVICE_CLASS = "org.apache.camel.loanbroker.webservice.version.bank.BankWS";
031    
032        String LOANBROKER_URI = "cxf://" + LOANBROKER_ADDRESS + "?serviceClass=" + LOANBROKER_SERVICE_CLASS;
033        String PARALLEL_LOANBROKER_URI = "cxf://" + PARALLEL_LOANBROKER_ADDRESS + "?serviceClass=" + LOANBROKER_SERVICE_CLASS;
034        String CREDITAGNCY_URI = "cxf://" + CREDITAGENCY_ADDRESS  + "?serviceClass=" + CREDITAGENCY_SERVICE_CLASS;
035        String BANK1_URI = "cxf://" + BANK1_ADDRESS + "?serviceClass=" + BANK_SERVICE_CLASS;
036        String BANK2_URI = "cxf://" + BANK2_ADDRESS + "?serviceClass=" + BANK_SERVICE_CLASS;
037        String BANK3_URI = "cxf://" + BANK3_ADDRESS + "?serviceClass=" + BANK_SERVICE_CLASS;
038    
039    
040    
041    }