Discussion:
sjms endpoint error
Rajith Muditha Attapattu
2018-09-10 20:56:36 UTC
Permalink
I'm getting the following error when trying to use the sjms endpoint.

"sjms" is bound to SjmsBatchComponent

The 4 properties it complains about is available in the sjms-batch
component. Wondering how to debug this issue?

Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint:
sjms://queue:MY_QUEUE?aggregationStrategy=com.xxx.route.MessageAggregationStategy&completionPredicate=+%3E+200&completionSize=200&completionTimeout=3000&consumerCount=10&transacted=true&transactionBatchCount=200&transactionBatchTimeout=3000
due to:

Failed to resolve endpoint:
sjms://queue:MY_QUEUE?aggregationStrategy=com.xxx.route.MessageAggregationStategy&completionPredicate=+%3E+200&completionSize=200&completionTimeout=3000&consumerCount=10&transacted=true&transactionBatchCount=200&transactionBatchTimeout=3000
due to: There are 4 parameters that couldn't be set on the endpoint. Check
the uri if the parameters are spelt correctly and that they are properties
of the endpoint. Unknown
parameters=[{aggregationStrategy=com.cpggpc.route.MessageAggregationStategy,
completionPredicate= > 200, completionSize=200, completionTimeout=3000}]
--
Regards,

Rajith Muditha Attapattu <http://rajith.2rlabs.com/>
Andrea Cosentino
2018-09-11 08:21:50 UTC
Permalink
you need to use sjms-batch as component scheme.

https://github.com/apache/camel/blob/master/components/camel-sjms/src/main/docs/sjms-batch-component.adoc

--
Andrea Cosentino 
----------------------------------
Apache Camel PMC Chair
Apache Karaf Committer
Apache Servicemix PMC Member
Email: ***@yahoo.com
Twitter: @oscerd2
Github: oscerd






On Monday, September 10, 2018, 10:56:47 PM GMT+2, Rajith Muditha Attapattu <***@gmail.com> wrote:





I'm getting the following error when trying to use the sjms endpoint.

"sjms" is bound to SjmsBatchComponent

The 4 properties it complains about is available in the sjms-batch
component. Wondering how to debug this issue?

Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint:
sjms://queue:MY_QUEUE?aggregationStrategy=com.xxx.route.MessageAggregationStategy&completionPredicate=+%3E+200&completionSize=200&completionTimeout=3000&consumerCount=10&transacted=true&transactionBatchCount=200&transactionBatchTimeout=3000
due to:

Failed to resolve endpoint:
sjms://queue:MY_QUEUE?aggregationStrategy=com.xxx.route.MessageAggregationStategy&completionPredicate=+%3E+200&completionSize=200&completionTimeout=3000&consumerCount=10&transacted=true&transactionBatchCount=200&transactionBatchTimeout=3000
due to: There are 4 parameters that couldn't be set on the endpoint. Check
the uri if the parameters are spelt correctly and that they are properties
of the endpoint. Unknown
parameters=[{aggregationStrategy=com.cpggpc.route.MessageAggregationStategy,
completionPredicate= > 200, completionSize=200, completionTimeout=3000}]
--
Regards,

Rajith Muditha Attapattu <http://rajith.2rlabs.com/>
Loading...