camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/4] camel git commit: Fix invalid endpoint config in IrcsListUsersIntegrationTest
Date Thu, 19 Jan 2017 09:21:30 GMT
Fix invalid endpoint config in IrcsListUsersIntegrationTest


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7280b0a4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7280b0a4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7280b0a4

Branch: refs/heads/master
Commit: 7280b0a45dbe3d6b4aedfedb393d4092b3e25d53
Parents: 4d9ea2e
Author: James Netherton <jamesnetherton@gmail.com>
Authored: Wed Jan 18 20:12:43 2017 +0000
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Jan 19 10:11:18 2017 +0100

----------------------------------------------------------------------
 components/camel-irc/src/main/docs/irc-component.adoc            | 4 ++--
 .../apache/camel/component/irc/IrcsListUsersIntegrationTest.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7280b0a4/components/camel-irc/src/main/docs/irc-component.adoc
----------------------------------------------------------------------
diff --git a/components/camel-irc/src/main/docs/irc-component.adoc b/components/camel-irc/src/main/docs/irc-component.adoc
index af4a499..0cc8a22 100644
--- a/components/camel-irc/src/main/docs/irc-component.adoc
+++ b/components/camel-irc/src/main/docs/irc-component.adoc
@@ -179,7 +179,7 @@ For example we want to get all exchanges that contain the usernames of
the chann
 
 [source,java]
 -----------------------------------------------------------------------------
-from("ircs:nick@myserver:1234/#mychannelname?listOnJoin=true&onReply=true")
+from("ircs:nick@myserver:1234/#mychannelname?namesOnJoin=true&onReply=true")
 	.choice()
 		.when(header("irc.messageType").isEqualToIgnoreCase("REPLY"))
 			.filter(header("irc.num").isEqualTo("353"))
@@ -191,4 +191,4 @@ from("ircs:nick@myserver:1234/#mychannelname?listOnJoin=true&onReply=true")
 * link:configuring-camel.html[Configuring Camel]
 * link:component.html[Component]
 * link:endpoint.html[Endpoint]
-* link:getting-started.html[Getting Started]
\ No newline at end of file
+* link:getting-started.html[Getting Started]

http://git-wip-us.apache.org/repos/asf/camel/blob/7280b0a4/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcsListUsersIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcsListUsersIntegrationTest.java
b/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcsListUsersIntegrationTest.java
index fc3241d..7e629ee 100644
--- a/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcsListUsersIntegrationTest.java
+++ b/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcsListUsersIntegrationTest.java
@@ -65,7 +65,7 @@ public class IrcsListUsersIntegrationTest extends CamelTestSupport {
             public void configure() throws Exception {
                 LOGGER.debug("Creating new test route");
                 
-                from(PRODUCER_URI + "?listOnJoin=true&onReply=true")
+                from(PRODUCER_URI + "?namesOnJoin=true&onReply=true")
                     .choice()
                         .when(header("irc.messageType").isEqualToIgnoreCase("REPLY"))
                             .filter(header("irc.num").isEqualTo(IRC_RPL_NAMREPLY))


Mime
View raw message