CAMEL-10321, Asterisk Component: fix PR

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

Branch: refs/heads/master
Commit: a54448506ee6ded4a008da42657771f26dd80b06
Parents: a899d5f
Author: Fabrizio Spataro <fabrizio.spat...@bizmate.it>
Authored: Mon Sep 19 13:03:27 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Wed Sep 21 13:44:14 2016 +0200

----------------------------------------------------------------------
 apache-camel/src/main/descriptors/common-bin.xml                   | 2 +-
 .../java/org/apache/camel/component/asterisk/AsteriskEndpoint.java | 2 +-
 .../org/apache/camel/component/asterisk/AsteriskConsumerTest.java  | 2 +-
 .../org/apache/camel/component/asterisk/AsteriskProducerTest.java  | 2 +-
 components/pom.xml                                                 | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a5444850/apache-camel/src/main/descriptors/common-bin.xml
----------------------------------------------------------------------
diff --git a/apache-camel/src/main/descriptors/common-bin.xml 
b/apache-camel/src/main/descriptors/common-bin.xml
index 4f18ed1..c63c40b 100644
--- a/apache-camel/src/main/descriptors/common-bin.xml
+++ b/apache-camel/src/main/descriptors/common-bin.xml
@@ -24,11 +24,11 @@
       <unpack>false</unpack>
       <scope>runtime</scope>
       <includes>
-        <include>org.apache.camel:camel-asterisk</include>
         <include>org.apache.camel:camel-ahc</include>
         <include>org.apache.camel:camel-ahc-ws</include>
         <include>org.apache.camel:camel-amqp</include>
         <include>org.apache.camel:camel-apns</include>
+        <include>org.apache.camel:camel-asterisk</include>
         <include>org.apache.camel:camel-atmos</include>
         <include>org.apache.camel:camel-atmosphere-websocket</include>
         <include>org.apache.camel:camel-atom</include>

http://git-wip-us.apache.org/repos/asf/camel/blob/a5444850/components/camel-asterisk/src/main/java/org/apache/camel/component/asterisk/AsteriskEndpoint.java
----------------------------------------------------------------------
diff --git 
a/components/camel-asterisk/src/main/java/org/apache/camel/component/asterisk/AsteriskEndpoint.java
 
b/components/camel-asterisk/src/main/java/org/apache/camel/component/asterisk/AsteriskEndpoint.java
index b75dc5d..629a24d 100644
--- 
a/components/camel-asterisk/src/main/java/org/apache/camel/component/asterisk/AsteriskEndpoint.java
+++ 
b/components/camel-asterisk/src/main/java/org/apache/camel/component/asterisk/AsteriskEndpoint.java
@@ -95,7 +95,7 @@ public class AsteriskEndpoint extends DefaultEndpoint {
     }
 
     public boolean isSingleton() {
-        return true;
+        return false;
     }
 
     public void addListener(ManagerEventListener listener) throws 
CamelAsteriskException {

http://git-wip-us.apache.org/repos/asf/camel/blob/a5444850/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskConsumerTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskConsumerTest.java
 
b/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskConsumerTest.java
index 3924662..31638a3 100644
--- 
a/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskConsumerTest.java
+++ 
b/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskConsumerTest.java
@@ -27,7 +27,7 @@ import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@Ignore("CAMEL-10321: Set host, port and oids to test asterisk consumer.")
+@Ignore("CAMEL-10321: Set host, username and password test asterisk consumer.")
 public class AsteriskConsumerTest extends CamelTestSupport {
     private static final Logger LOG = 
LoggerFactory.getLogger(AsteriskConsumerTest.class);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/a5444850/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskProducerTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskProducerTest.java
 
b/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskProducerTest.java
index 63f5471..243c220 100644
--- 
a/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskProducerTest.java
+++ 
b/components/camel-asterisk/src/test/java/org/apache/camel/component/asterisk/AsteriskProducerTest.java
@@ -24,7 +24,7 @@ import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Ignore;
 import org.junit.Test;
 
-@Ignore("CAMEL-10321: Set host, port and oids to test asterisk producer.")
+@Ignore("CAMEL-10321: Set host, username and password test asterisk producer.")
 public class AsteriskProducerTest extends CamelTestSupport {
 
     private String hostname = "192.168.0.254";

http://git-wip-us.apache.org/repos/asf/camel/blob/a5444850/components/pom.xml
----------------------------------------------------------------------
diff --git a/components/pom.xml b/components/pom.xml
index 7400898..f9b4fc8 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -59,11 +59,11 @@
     <module>camel-jms</module>
 
     <!-- regular modules in alphabetic order -->
-       <module>camel-asterisk</module>
     <module>camel-ahc</module>
     <module>camel-ahc-ws</module>
     <module>camel-amqp</module>
     <module>camel-apns</module>
+    <module>camel-asterisk</module>
     <module>camel-atmos</module>
     <module>camel-atmosphere-websocket</module>
     <module>camel-atom</module>

Reply via email to