You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/04 10:08:34 UTC

[camel] branch camel-3.1.x updated (3f86811 -> 848bafc)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 3f86811  Regen
     new 5024fc7  Camel-Yammer: Fixed javadoc for olderThan
     new f21db3e  Camel-Yammer: Fixed Javadoc for newerThan
     new e290d3c  Camel-Yammer: Fixed javadoc for threaded
     new aee01eb  Camel-Yammer: Regen
     new 848bafc  Camel-Yammer: Regen docs

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../resources/org/apache/camel/component/yammer/yammer.json    |  8 ++++----
 components/camel-yammer/src/main/docs/yammer-component.adoc    |  8 ++++----
 .../org/apache/camel/component/yammer/YammerConfiguration.java | 10 +++++-----
 docs/components/modules/ROOT/pages/yammer-component.adoc       |  8 ++++----
 4 files changed, 17 insertions(+), 17 deletions(-)


[camel] 02/05: Camel-Yammer: Fixed Javadoc for newerThan

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f21db3e8ecfbd4fbe0ca8aa22db9c115bdc4b1d5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 4 11:01:34 2020 +0100

    Camel-Yammer: Fixed Javadoc for newerThan
---
 .../java/org/apache/camel/component/yammer/YammerConfiguration.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
index 5d28297..d57fe34 100644
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
@@ -145,7 +145,7 @@ public class YammerConfiguration {
 
     /**
      * Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages.
-     * If you're looking at messages, and the most recent message returned is 3516, you can make a request with the parameter "?newerThan=3516″
+     * If you're looking at messages, and the most recent message returned is 3516, you can make a request with the parameter newerThan equals to 3516
      * to ensure that you do not get duplicate copies of messages already on your page.
      */
     public void setNewerThan(long newerThan) {


[camel] 05/05: Camel-Yammer: Regen docs

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 848bafc4fc0c2b39069e5470f9c793c5a8fbaa47
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 4 11:08:05 2020 +0100

    Camel-Yammer: Regen docs
---
 docs/components/modules/ROOT/pages/yammer-component.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/components/modules/ROOT/pages/yammer-component.adoc b/docs/components/modules/ROOT/pages/yammer-component.adoc
index ea49c88..f13aac3 100644
--- a/docs/components/modules/ROOT/pages/yammer-component.adoc
+++ b/docs/components/modules/ROOT/pages/yammer-component.adoc
@@ -99,11 +99,11 @@ with the following path and query parameters:
 | *useJson* (common) | Set to true if you want to use raw JSON rather than converting to POJOs. | false | boolean
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean
 | *delay* (consumer) | Delay between polling in millis | 5000 | long
-| *limit* (consumer) | Return only the specified number of messages. Works for threaded=true and threaded=extended. | -1 | int
-| *newerThan* (consumer) | Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages. If you're looking at messages, and the most recent message returned is 3516, you can make a request with the parameter newerThan=3516 to ensure that you do not get duplicate copies of messages already on your page. | -1 | long
-| *olderThan* (consumer) | Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you're currently viewing 20 messages and the oldest is number 2912, you could append olderThan=2912 to your request to get the 20 messages prior to those you're seeing. | -1 | long
+| *limit* (consumer) | Return only the specified number of messages. Works for threaded set to true and threaded set to extended. | -1 | int
+| *newerThan* (consumer) | Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages. If you're looking at messages, and the most recent message returned is 3516, you can make a request with the parameter newerThan equals to 3516 to ensure that you do not get duplicate copies of messages already on your page. | -1 | long
+| *olderThan* (consumer) | Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you're currently viewing 20 messages and the oldest is number 2912, you could append olderThan equals to 2912 to your request to get the 20 messages prior to those you're seeing. | -1 | long
 | *sendEmptyMessageWhenIdle* (consumer) | If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | false | boolean
-| *threaded* (consumer) | threaded=true will only return the first message in each thread. This parameter is intended for apps which display message threads collapsed. threaded=extended will return the thread starter messages in order of most recently active as well as the two most recent messages, as they are viewed in the default view on the Yammer web interface. The value can be one of: true, extended |  | String
+| *threaded* (consumer) | threaded equals to true will only return the first message in each thread. This parameter is intended for apps which display message threads collapsed. threaded equals to extended will return the thread starter messages in order of most recently active as well as the two most recent messages, as they are viewed in the default view on the Yammer web interface. The value can be one of: true, extended |  | String
 | *userId* (consumer) | The user id |  | String
 | *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. The value can be one of: InOnly, InOut, InOptionalOut |  | ExchangePattern


[camel] 04/05: Camel-Yammer: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit aee01eb5f144cd4937db7e5a981326e90aec7f19
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 4 11:03:38 2020 +0100

    Camel-Yammer: Regen
---
 .../resources/org/apache/camel/component/yammer/yammer.json       | 8 ++++----
 components/camel-yammer/src/main/docs/yammer-component.adoc       | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/components/camel-yammer/src/generated/resources/org/apache/camel/component/yammer/yammer.json b/components/camel-yammer/src/generated/resources/org/apache/camel/component/yammer/yammer.json
index eff04b2..33d836b 100644
--- a/components/camel-yammer/src/generated/resources/org/apache/camel/component/yammer/yammer.json
+++ b/components/camel-yammer/src/generated/resources/org/apache/camel/component/yammer/yammer.json
@@ -33,11 +33,11 @@
     "useJson": { "kind": "parameter", "displayName": "Use Json", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Set to true if you want to use raw JSON rather than converting to POJOs." },
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled b [...]
     "delay": { "kind": "parameter", "displayName": "Delay", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "secret": false, "defaultValue": "5000", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Delay between polling in millis" },
-    "limit": { "kind": "parameter", "displayName": "Limit", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "defaultValue": "-1", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Return only the specified number of messages. Works for threaded=true and threaded=extended." },
-    "newerThan": { "kind": "parameter", "displayName": "Newer Than", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "secret": false, "defaultValue": "-1", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages. If you're l [...]
-    "olderThan": { "kind": "parameter", "displayName": "Older Than", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "secret": false, "defaultValue": "-1", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you're [...]
+    "limit": { "kind": "parameter", "displayName": "Limit", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "defaultValue": "-1", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Return only the specified number of messages. Works for threaded set to true and threaded set to extended." },
+    "newerThan": { "kind": "parameter", "displayName": "Newer Than", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "secret": false, "defaultValue": "-1", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages. If you're l [...]
+    "olderThan": { "kind": "parameter", "displayName": "Older Than", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "secret": false, "defaultValue": "-1", "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you're [...]
     "sendEmptyMessageWhenIdle": { "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." },
-    "threaded": { "kind": "parameter", "displayName": "Threaded", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "true", "extended" ], "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "threaded=true will only return the first message in each thread. This parameter is intended for apps which display mes [...]
+    "threaded": { "kind": "parameter", "displayName": "Threaded", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "true", "extended" ], "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "threaded equals to true will only return the first message in each thread. This parameter is intended for apps which d [...]
     "userId": { "kind": "parameter", "displayName": "User Id", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.yammer.YammerConfiguration", "configurationField": "config", "description": "The user id" },
     "exceptionHandler": { "kind": "parameter", "displayName": "Exception Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", "deprecated": false, "secret": false, "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with [...]
     "exchangePattern": { "kind": "parameter", "displayName": "Exchange Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", "InOptionalOut" ], "deprecated": false, "secret": false, "description": "Sets the exchange pattern when the consumer creates an exchange." },
diff --git a/components/camel-yammer/src/main/docs/yammer-component.adoc b/components/camel-yammer/src/main/docs/yammer-component.adoc
index 2235218..ab1f28c 100644
--- a/components/camel-yammer/src/main/docs/yammer-component.adoc
+++ b/components/camel-yammer/src/main/docs/yammer-component.adoc
@@ -98,11 +98,11 @@ with the following path and query parameters:
 | *useJson* (common) | Set to true if you want to use raw JSON rather than converting to POJOs. | false | boolean
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean
 | *delay* (consumer) | Delay between polling in millis | 5000 | long
-| *limit* (consumer) | Return only the specified number of messages. Works for threaded=true and threaded=extended. | -1 | int
-| *newerThan* (consumer) | Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages. If you're looking at messages, and the most recent message returned is 3516, you can make a request with the parameter newerThan=3516 to ensure that you do not get duplicate copies of messages already on your page. | -1 | long
-| *olderThan* (consumer) | Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you're currently viewing 20 messages and the oldest is number 2912, you could append olderThan=2912 to your request to get the 20 messages prior to those you're seeing. | -1 | long
+| *limit* (consumer) | Return only the specified number of messages. Works for threaded set to true and threaded set to extended. | -1 | int
+| *newerThan* (consumer) | Returns messages newer than the message ID specified as a numeric string. This should be used when polling for new messages. If you're looking at messages, and the most recent message returned is 3516, you can make a request with the parameter newerThan equals to 3516 to ensure that you do not get duplicate copies of messages already on your page. | -1 | long
+| *olderThan* (consumer) | Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you're currently viewing 20 messages and the oldest is number 2912, you could append olderThan equals to 2912 to your request to get the 20 messages prior to those you're seeing. | -1 | long
 | *sendEmptyMessageWhenIdle* (consumer) | If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | false | boolean
-| *threaded* (consumer) | threaded=true will only return the first message in each thread. This parameter is intended for apps which display message threads collapsed. threaded=extended will return the thread starter messages in order of most recently active as well as the two most recent messages, as they are viewed in the default view on the Yammer web interface. The value can be one of: true, extended |  | String
+| *threaded* (consumer) | threaded equals to true will only return the first message in each thread. This parameter is intended for apps which display message threads collapsed. threaded equals to extended will return the thread starter messages in order of most recently active as well as the two most recent messages, as they are viewed in the default view on the Yammer web interface. The value can be one of: true, extended |  | String
 | *userId* (consumer) | The user id |  | String
 | *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. The value can be one of: InOnly, InOut, InOptionalOut |  | ExchangePattern


[camel] 03/05: Camel-Yammer: Fixed javadoc for threaded

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e290d3ce481978e0de022b7a3be44c643198d454
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 4 11:02:34 2020 +0100

    Camel-Yammer: Fixed javadoc for threaded
---
 .../java/org/apache/camel/component/yammer/YammerConfiguration.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
index d57fe34..3ce087d 100644
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
@@ -120,7 +120,7 @@ public class YammerConfiguration {
     }
 
     /**
-     * Return only the specified number of messages. Works for threaded=true and threaded=extended.
+     * Return only the specified number of messages. Works for threaded set to true and threaded set to extended.
      */
     public void setLimit(int limit) {
         this.limit = limit;
@@ -157,9 +157,9 @@ public class YammerConfiguration {
     }
 
     /**
-     * threaded=true will only return the first message in each thread.
+     * threaded equals to true will only return the first message in each thread.
      * This parameter is intended for apps which display message threads collapsed.
-     * threaded=extended will return the thread starter messages in order of most recently active as well as the
+     * threaded equals to extended will return the thread starter messages in order of most recently active as well as the
      * two most recent messages, as they are viewed in the default view on the Yammer web interface.
      */
     public void setThreaded(String threaded) {


[camel] 01/05: Camel-Yammer: Fixed javadoc for olderThan

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 5024fc71b16488afb37d2af3efee5e32b7c252d7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 4 11:00:58 2020 +0100

    Camel-Yammer: Fixed javadoc for olderThan
---
 .../java/org/apache/camel/component/yammer/YammerConfiguration.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
index 0ba1f7f..5d28297 100644
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/YammerConfiguration.java
@@ -133,7 +133,7 @@ public class YammerConfiguration {
     /**
      * Returns messages older than the message ID specified as a numeric string.
      * This is useful for paginating messages. For example, if you're currently viewing 20 messages and the oldest is number 2912,
-     * you could append "?olderThan=2912″ to your request to get the 20 messages prior to those you're seeing.
+     * you could append olderThan equals to 2912 to your request to get the 20 messages prior to those you're seeing.
      */
     public void setOlderThan(long olderThan) {
         this.olderThan = olderThan;