herence.incubator.coherence-messagingpattern.13.0.0.source-code.coherence-messagingpattern-extend-client-cache-config.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence-messagingpattern Show documentation
Show all versions of coherence-messagingpattern Show documentation
A simple implementation of Store and Forward Messaging based on
Oracle Coherence.
<?xml version="1.0" encoding="UTF-8"?> <!-- File: coherence-messagingpattern-extend-client-cache-config.xml DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. The contents of this file are subject to the terms and conditions of the Common Development and Distribution License 1.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License by consulting the LICENSE.txt file distributed with this file, or by consulting https://oss.oracle.com/licenses/CDDL See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file LICENSE.txt. MODIFICATIONS: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" Copyright (c) 2008. All Rights Reserved. Oracle Corporation. --> <cache-config xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd" xmlns:element="class://com.oracle.coherence.common.namespace.preprocessing.XmlPreprocessingNamespaceHandler" element:introduce-cache-config="coherence-common-cache-config.xml"> <caching-scheme-mapping> <cache-mapping> <cache-name>coherence.messagingpattern.subscriptions</cache-name> <scheme-name>ExtendClientScheme</scheme-name> </cache-mapping> <cache-mapping> <cache-name>coherence.messagingpattern.messages</cache-name> <scheme-name>ExtendClientScheme</scheme-name> </cache-mapping> <cache-mapping> <cache-name>coherence.messagingpattern.destinations</cache-name> <scheme-name>ExtendClientScheme</scheme-name> </cache-mapping> </caching-scheme-mapping> <caching-schemes> <remote-cache-scheme> <scheme-name>ExtendClientScheme</scheme-name> <service-name>ExtendClientService</service-name> <initiator-config> <tcp-initiator> <remote-addresses> <socket-address> <address>localhost</address> <port>4800</port> </socket-address> </remote-addresses> </tcp-initiator> <outgoing-message-handler> <request-timeout>3s</request-timeout> </outgoing-message-handler> <connect-timeout>2s</connect-timeout> </initiator-config> </remote-cache-scheme> </caching-schemes> </cache-config>