You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/10/18 09:01:42 UTC

[2/2] camel git commit: CAMEL-11906: camel-pgevent should be compile scoped for the database driver. Polished the component descirption.

CAMEL-11906: camel-pgevent should be compile scoped for the database driver. Polished the component descirption.


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

Branch: refs/heads/camel-2.20.x
Commit: f87de945cf379d9fd1b2e019a6de3226e85e1695
Parents: fd32e1c
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Oct 18 11:01:07 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Oct 18 11:01:34 2017 +0200

----------------------------------------------------------------------
 components/camel-pgevent/pom.xml                              | 4 +---
 .../org/apache/camel/component/pgevent/PgEventEndpoint.java   | 7 ++++---
 components/readme.adoc                                        | 2 +-
 .../pgevent/springboot/PgEventComponentConfiguration.java     | 2 +-
 4 files changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f87de945/components/camel-pgevent/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-pgevent/pom.xml b/components/camel-pgevent/pom.xml
index e50f870..a249248 100644
--- a/components/camel-pgevent/pom.xml
+++ b/components/camel-pgevent/pom.xml
@@ -30,12 +30,11 @@
   <artifactId>camel-pgevent</artifactId>
   <packaging>jar</packaging>
   <name>Camel :: PgEvent</name>
-  <description>Component for sending/receiving notifications in PostgreSQL via the pgjdbc-ng driver</description>
+  <description>Component for sending/receiving notifications in PostgreSQL</description>
 
   <properties>
     <camel.osgi.export.pkg>org.apache.camel.component.pgevent.*</camel.osgi.export.pkg>
     <camel.osgi.export.service>org.apache.camel.spi.ComponentResolver;component=pgevent</camel.osgi.export.service>
-    <camel.osgi.import.additional>com.impossibl.pgjdbc-ng.*;version="(0.4,1]"</camel.osgi.import.additional>
   </properties>
 
   <dependencies>
@@ -47,7 +46,6 @@
       <groupId>com.impossibl.pgjdbc-ng</groupId>
       <artifactId>pgjdbc-ng</artifactId>
       <version>${pgjdbc-ng-driver-version}</version>
-      <scope>provided</scope>
     </dependency>
 
     <!-- testing -->

http://git-wip-us.apache.org/repos/asf/camel/blob/f87de945/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/PgEventEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/PgEventEndpoint.java b/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/PgEventEndpoint.java
index d31ea3d..c0dc3e2 100644
--- a/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/PgEventEndpoint.java
+++ b/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/PgEventEndpoint.java
@@ -36,11 +36,12 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * The pgevent component allows for producing/consuming  PostgreSQL events related to the LISTEN/NOTIFY commands.
- *
+ * The pgevent component allows for producing/consuming PostgreSQL events related to the listen/notify commands.
+ * <p/>
  * This requires using PostgreSQL 8.3 or newer.
  */
-@UriEndpoint(firstVersion = "2.15.0", scheme = "pgevent", title = "PostgresSQL Event", syntax = "pgevent:host:port/database/channel", consumerClass = PgEventConsumer.class, label = "database,sql")
+@UriEndpoint(firstVersion = "2.15.0", scheme = "pgevent", title = "PostgresSQL Event", syntax = "pgevent:host:port/database/channel",
+    consumerClass = PgEventConsumer.class, label = "database,sql")
 public class PgEventEndpoint extends DefaultEndpoint {
     private static final Logger LOG = LoggerFactory.getLogger(PgEventEndpoint.class);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/f87de945/components/readme.adoc
----------------------------------------------------------------------
diff --git a/components/readme.adoc b/components/readme.adoc
index 0cf3301..ce11096 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -633,7 +633,7 @@ Number of Components: 284 in 195 JAR artifacts (17 deprecated)
 `pdf:operation` | 2.16 | The pdf components provides the ability to create modify or extract content from PDF documents.
 
 | link:camel-pgevent/src/main/docs/pgevent-component.adoc[PostgresSQL Event] (camel-pgevent) +
-`pgevent:host:port/database/channel` | 2.15 | The pgevent component allows for producing/consuming PostgreSQL events related to the LISTEN/NOTIFY commands.
+`pgevent:host:port/database/channel` | 2.15 | The pgevent component allows for producing/consuming PostgreSQL events related to the listen/notify commands.
 
 | link:camel-printer/src/main/docs/lpr-component.adoc[Printer] (camel-printer) +
 `lpr:hostname:port/printername` | 2.1 | The printer component is used for sending messages to printers as print jobs.

http://git-wip-us.apache.org/repos/asf/camel/blob/f87de945/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
index 0281ef2..fb02003 100644
--- a/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
@@ -22,7 +22,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
 
 /**
  * The pgevent component allows for producing/consuming PostgreSQL events
- * related to the LISTEN/NOTIFY commands.
+ * related to the listen/notify commands.
  * 
  * Generated by camel-package-maven-plugin - do not edit this file!
  */