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.component.cxf.common.message;
018
019 /**
020 * Constants used in this module
021 *
022 * @version
023 */
024 public final class CxfConstants {
025 public static final String METHOD = "method";
026 public static final String SERVICE_CLASS = "serviceClass";
027 // CamelCXFDataFormat is used as exchange property key
028 public static final String DATA_FORMAT_PROPERTY = "CamelCXFDataFormat";
029 public static final String SET_DEFAULT_BUS = "setDefaultBus";
030 public static final String WSDL_URL = "wsdlURL";
031 public static final String ADDRESS = "address";
032 public static final String SERVICE_NAME = "serviceName";
033 public static final String PORT_NAME = "portName";
034 public static final String SERVICE_LOCALNAME = "serviceLocalName";
035 public static final String SERVICE_NAMESPACE = "serviceNamespace";
036 public static final String PORT_LOCALNAME = "endpointLocalName";
037 public static final String PORT_NAMESPACE = "endpointNamespace";
038 public static final String PROTOCOL_NAME_RES = "res";
039 public static final String OPERATION_NAME = "operationName";
040 public static final String OPERATION_NAMESPACE = "operationNamespace";
041 public static final String SPRING_CONTEXT_ENDPOINT = "bean:";
042
043 public static final String JAXWS_CONTEXT = "jaxwsContext";
044 public static final String DISPATCH_NAMESPACE = "http://camel.apache.org/cxf/jaxws/dispatch";
045 public static final String DISPATCH_DEFAULT_OPERATION_NAMESPACE = "Invoke";
046
047 public static final String CAMEL_CXF_MESSAGE = "CamelCxfMessage";
048 public static final String CAMEL_CXF_RS_USING_HTTP_API = "CamelCxfRsUsingHttpAPI";
049 public static final String CAMEL_CXF_RS_VAR_VALUES = "CamelCxfRsVarValues";
050 public static final String CAMEL_CXF_RS_RESPONSE_CLASS = "CamelCxfRsResponseClass";
051 public static final String CAMEL_CXF_RS_RESPONSE_GENERIC_TYPE = "CamelCxfRsResponseGenericType";
052 public static final String CAMEL_CXF_RS_QUERY_MAP = "CamelCxfRsQueryMap";
053 public static final String CAMEL_CXF_RS_EXTRACT_ENTITY = "CamelCxfRsExtractEntity";
054 public static final String CAMEL_CXF_RS_OPERATION_RESOURCE_INFO_STACK = "CamelCxfRsOperationResourceInfoStack";
055 public static final String CAMEL_CXF_ATTACHMENTS = "CamelAttachments";
056 public static final String CAMEL_CXF_RS_THROW_EXCEPTION_ON_FAILURE = "CamelCxfRsThrowExceptionOnFailure";
057
058 private CxfConstants() {
059 // Utility class
060 }
061 }
062
063
064