Fixed CS

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

Branch: refs/heads/camel-2.14.x
Commit: 4125e9d86984de733b757b7f1c7915df0caa5999
Parents: abee35c
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Feb 22 16:19:59 2015 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Feb 22 16:28:59 2015 +0100

----------------------------------------------------------------------
 .../rabbitmq/RabbitMQRequeueIntTest.java        | 21 +++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4125e9d8/components/camel-rabbitmq/src/test/java/org/apache/camel/component/rabbitmq/RabbitMQRequeueIntTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-rabbitmq/src/test/java/org/apache/camel/component/rabbitmq/RabbitMQRequeueIntTest.java
 
b/components/camel-rabbitmq/src/test/java/org/apache/camel/component/rabbitmq/RabbitMQRequeueIntTest.java
index d860a41..97798fc 100644
--- 
a/components/camel-rabbitmq/src/test/java/org/apache/camel/component/rabbitmq/RabbitMQRequeueIntTest.java
+++ 
b/components/camel-rabbitmq/src/test/java/org/apache/camel/component/rabbitmq/RabbitMQRequeueIntTest.java
@@ -1,3 +1,19 @@
+/**
+ * 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.
+ */
 package org.apache.camel.component.rabbitmq;
 
 import org.apache.camel.Endpoint;
@@ -11,8 +27,6 @@ import org.junit.Test;
 
 /**
  * Integration test to confirm REQUEUE header causes message to be re-queued 
instead of sent to DLQ.
- *
- * Created by Andrew Austin on 2/21/15.
  */
 public class RabbitMQRequeueIntTest extends CamelTestSupport {
     public static final String ROUTING_KEY = "rk4";
@@ -41,6 +55,7 @@ public class RabbitMQRequeueIntTest extends CamelTestSupport {
                         .log("Sending message")
                         .inOnly(rabbitMQEndpoint)
                         .to(producingMockEndpoint);
+
                 from(rabbitMQEndpoint)
                         .id("consumingRoute")
                         .log("Receiving message")
@@ -67,7 +82,7 @@ public class RabbitMQRequeueIntTest extends CamelTestSupport {
         producingMockEndpoint.expectedMessageCount(1);
         consumingMockEndpoint.expectedMessageCount(1);
 
-        directProducer.sendBodyAndHeader("Hello, World!", 
RabbitMQConstants.REQUEUE, 4l);
+        directProducer.sendBodyAndHeader("Hello, World!", 
RabbitMQConstants.REQUEUE, 4L);
 
         Thread.sleep(100);
         producingMockEndpoint.assertIsSatisfied();

Reply via email to