On Mon, Dec 19, 2022 at 11:27 AM Kartheek Veebhudi <
kartheek.veebh...@gmail.com> wrote:

> Hi Camel Users,
>
> We have a file transmission application which uses Apache Camel which is a
> legacy application running on 2.25 version. We have created a custom
> endpointConfiguration like
> <routes><route id="test"><from
> uri="ndmfile://prpertiesfile.xml?delay=12000/><process ref="ndPA"/><to
> uri="ndm:send"/></route></routes>
>
> ndmfile is an customEndpoint and using endpoint.setEndPointConfiguration()
> and getEndPointConfiguration().
>
> Currently we are in a situation to upgrade it to 3.14/3.16 version and
> these method got deprecated and deleted from 3.x version. Is there any
> alternative for this method in new updated versions?
>
>
No there is no alternative, they were AFAIR also deprecated in 2.x.
https://github.com/apache/camel/blob/camel-2.25.x/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java#L25

Just write the component like any other standard component, you can look at
one of the existing components that is is somewhat similar to your
component as inspiration.



>
> *Thanks & Regards,*
> *Kartheek.Veebhudi*
>


-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to