You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/04/22 10:02:49 UTC
svn commit: r767402 -
/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/tx/JmsToHttpRoute.java
Author: ningjiang
Date: Wed Apr 22 08:02:48 2009
New Revision: 767402
URL: http://svn.apache.org/viewvc?rev=767402&view=rev
Log:
Changed the port of JmsToHttpRoute to avoid the port conflict in some TC boxs
Modified:
camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/tx/JmsToHttpRoute.java
Modified: camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/tx/JmsToHttpRoute.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/tx/JmsToHttpRoute.java?rev=767402&r1=767401&r2=767402&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/tx/JmsToHttpRoute.java (original)
+++ camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/tx/JmsToHttpRoute.java Wed Apr 22 08:02:48 2009
@@ -54,7 +54,7 @@
// must setup policy for each route due CAMEL-1475 bug
.policy(required)
// send a request to http and get the response
- .to("http://localhost:8080/sender")
+ .to("http://localhost:9090/sender")
// convert the response to String so we can work with it and avoid streams only be readable once
// as the http component will return data as a stream
.convertBodyTo(String.class)
@@ -77,7 +77,7 @@
// this is our http route that will fail the first 2 attempts
// before it sends an ok response
- from("jetty:http://localhost:8080/sender").process(new Processor() {
+ from("jetty:http://localhost:9090/sender").process(new Processor() {
public void process(Exchange exchange) throws Exception {
if (counter++ < 2) {
exchange.getOut().setBody(nok);