tanyu created CAMEL-19821:
-----------------------------
Summary: Spring-rabbitmq can't config allowNullBody COMPONENT
OPTIONS
Key: CAMEL-19821
URL: https://issues.apache.org/jira/browse/CAMEL-19821
Project: Camel
Issue Type: Bug
Affects Versions: 4.0.0, 4.0-RC2, 4.0-RC1, 4.0-M3, 4.0-M2, 4.0-M1
Reporter: tanyu
Attachments: image-2023-09-01-16-22-17-646.png,
image-2023-09-01-16-22-59-113.png
Version: camel4.0.0
Route:
!image-2023-09-01-16-22-17-646.png!
document:
!image-2023-09-01-16-22-59-113.png!
error info:
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint: spring-rabbitmq://camel-test1?allowNullBody=true&disableReplyTo=true
due to: There are 1 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=[
{allowNullBody=true}
]
at
org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:299)
~[camel-support-4.0.0.jar:4.0.0]
at
org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191)
~[camel-support-4.0.0.jar:4.0.0]
at
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:822)
~[camel-base-engine-4.0.0.jar:4.0.0]
... 33 common frames omitted
--
This message was sent by Atlassian Jira
(v8.20.10#820010)