You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.IllegalArgumentException: Stream name not configured. must be specified
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:152)
at org.apache.camel.dataformat.beanio.BeanIODataFormat.doInit(BeanIODataFormat.java:88)
It seems to work on Spring Boot due to this ComponentCustomizer:
We could investigate implementing something similar in our DataFormat extension. Or perhaps modify the Camel component to reuse an existing configured DataFormat instance if one exists.
The text was updated successfully, but these errors were encountered:
Bug description
For example, if you were to configure beanio like:
Then in a Camel route do:
You get:
It seems to work on Spring Boot due to this
ComponentCustomizer
:https://github.com/apache/camel-spring-boot/blob/33ff5c946a9b20491c46b0d0ec07d662240a5e20/components-starter/camel-dataformat-starter/src/main/java/org/apache/camel/component/dataformat/springboot/DataFormatComponentAutoConfiguration.java#L59-L76
We could investigate implementing something similar in our DataFormat extension. Or perhaps modify the Camel component to reuse an existing configured DataFormat instance if one exists.
The text was updated successfully, but these errors were encountered: