Author: ningjiang Date: Fri May 8 09:32:59 2009 New Revision: 772902 URL: http://svn.apache.org/viewvc?rev=772902&view=rev Log: CAMEL-1350 added the src/test/resources into svn repository , also just set the in message when creating the exchange
Added: camel/trunk/components/camel-quickfix/src/test/resources/ camel/trunk/components/camel-quickfix/src/test/resources/examples/ camel/trunk/components/camel-quickfix/src/test/resources/examples/banzai.cfg camel/trunk/components/camel-quickfix/src/test/resources/examples/client.cfg camel/trunk/components/camel-quickfix/src/test/resources/examples/executor.cfg camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml (with props) camel/trunk/components/camel-quickfix/src/test/resources/examples/server.cfg camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties (with props) Modified: camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/QuickfixEndpoint.java Modified: camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/QuickfixEndpoint.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/QuickfixEndpoint.java?rev=772902&r1=772901&r2=772902&view=diff ============================================================================== --- camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/QuickfixEndpoint.java (original) +++ camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/QuickfixEndpoint.java Fri May 8 09:32:59 2009 @@ -88,8 +88,7 @@ public Exchange createExchange(Message message) { setExchangePattern(ExchangePattern.InOut); Exchange answer = createExchange(); - answer.getIn().setBody(message); - answer.getOut().setBody(message); + answer.getIn().setBody(message); return answer; } Added: camel/trunk/components/camel-quickfix/src/test/resources/examples/banzai.cfg URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/resources/examples/banzai.cfg?rev=772902&view=auto ============================================================================== --- camel/trunk/components/camel-quickfix/src/test/resources/examples/banzai.cfg (added) +++ camel/trunk/components/camel-quickfix/src/test/resources/examples/banzai.cfg Fri May 8 09:32:59 2009 @@ -0,0 +1,15 @@ +[default] +FileStorePath=target/banzai +ConnectionType=initiator +SenderCompID=BANZAI +TargetCompID=FIXGW +SocketConnectHost=localhost +StartTime=00:00:00 +EndTime=00:00:00 +HeartBtInt=100 +ReconnectInterval=10 + +[session] +BeginString=FIX.4.1 +SocketConnectPort=10000 + Added: camel/trunk/components/camel-quickfix/src/test/resources/examples/client.cfg URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/resources/examples/client.cfg?rev=772902&view=auto ============================================================================== --- camel/trunk/components/camel-quickfix/src/test/resources/examples/client.cfg (added) +++ camel/trunk/components/camel-quickfix/src/test/resources/examples/client.cfg Fri May 8 09:32:59 2009 @@ -0,0 +1,14 @@ +[default] +FileStorePath=target/client +ConnectionType=initiator +SenderCompID=FIXGW +SocketConnectHost=localhost +StartTime=00:00:00 +EndTime=00:00:00 +HeartBtInt=30 +ReconnectInterval=5 + +[session] +BeginString=FIX.4.1 +SocketConnectPort=9876 +TargetCompID=EXEC Added: camel/trunk/components/camel-quickfix/src/test/resources/examples/executor.cfg URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/resources/examples/executor.cfg?rev=772902&view=auto ============================================================================== --- camel/trunk/components/camel-quickfix/src/test/resources/examples/executor.cfg (added) +++ camel/trunk/components/camel-quickfix/src/test/resources/examples/executor.cfg Fri May 8 09:32:59 2009 @@ -0,0 +1,18 @@ +[default] +FileStorePath=target/executor +ConnectionType=acceptor +StartTime=00:00:00 +EndTime=00:00:00 +HeartBtInt=30 +ValidOrderTypes=1,2,F +SenderCompID=EXEC +TargetCompID=FIXGW +UseDataDictionary=Y +DefaultMarketPrice=12.30 + +[session] +BeginString=FIX.4.1 +SocketAcceptPort=11000 + + + Added: camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml?rev=772902&view=auto ============================================================================== --- camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml (added) +++ camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml Fri May 8 09:32:59 2009 @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd + http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> + + + <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> + <package>org.apache.camel.component.quickfix.example</package> + </camelContext> + +</beans> \ No newline at end of file Propchange: camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: camel/trunk/components/camel-quickfix/src/test/resources/examples/fix-gateway.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: camel/trunk/components/camel-quickfix/src/test/resources/examples/server.cfg URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/resources/examples/server.cfg?rev=772902&view=auto ============================================================================== --- camel/trunk/components/camel-quickfix/src/test/resources/examples/server.cfg (added) +++ camel/trunk/components/camel-quickfix/src/test/resources/examples/server.cfg Fri May 8 09:32:59 2009 @@ -0,0 +1,12 @@ +[default] +FileStorePath=target/server +ConnectionType=acceptor +StartTime=00:00:00 +EndTime=00:00:00 +HeartBtInt=30 +SenderCompID=FIXGW + +[session] +BeginString=FIX.4.1 +SocketAcceptPort=9876 +TargetCompID=BANZAI Added: camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties?rev=772902&view=auto ============================================================================== --- camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties (added) +++ camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties Fri May 8 09:32:59 2009 @@ -0,0 +1,17 @@ +# Set root category priority to INFO and its only appender to CONSOLE. +#log4j.rootCategory=INFO, CONSOLE +log4j.rootCategory=CONSOLE, LOGFILE + +# CONSOLE is set to be a ConsoleAppender using a PatternLayout. +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.Threshold=DEBUG +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=target/fixgw.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.Threshold=DEBUG +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n Propchange: camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: camel/trunk/components/camel-quickfix/src/test/resources/log4j.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain