camel3 properties component?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

camel3 properties component?

David J. M. Karlsen
See [*] for validation error by the camel maven plugin for the properties
component.
Has this been removed in camel3? What is the new syntax/replacement?



[*]

[INFO] Detected Camel version used in project: 3.0.0-M4
[INFO] Validating using Camel version: 3.0.0-M4
[INFO] Endpoint validation passsed at:
com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:16)

        direct:uploadEndpoint


[INFO] Endpoint validation passsed at:
com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:24)

        {{dhub.export.uploadUri}}


[INFO] Endpoint validation success: (1 = passed, 0 = invalid, 1 =
incapable, 0 = unknown components, 0 = deprecated options)
[WARNING] Simple validation error at:
com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:23)

        Unexpected token p at location 0
        properties:dhub.export.doUpload:false
        *

[WARNING] Simple validation error: (0 = passed, 1 = invalid)
[INFO] Endpoint pair (seda/direct) validation success (0 = pairs)
[INFO] Duplicate route id validation success (0 = ids)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  12.445 s (Wall Clock)
[INFO] Finished at: 2019-07-21T12:13:29+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.camel:camel-report-maven-plugin:3.0.0-M4:validate (default) on
project jfr-srv-batch: Endpoint validation success: (1 = passed, 0 =
invalid, 1 = incapable, 0 = unknown components, 0 = deprecated options)
[ERROR] Simple validation error: (0 = passed, 1 = invalid)
[ERROR] Duplicate route id validation success (0 = ids)
[ERROR] Endpoint pair (seda/direct) validation success (0 = pairs)
[ERROR] -> [Help 1]

--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
Reply | Threaded
Open this post in threaded view
|

Re: camel3 properties component?

Claus Ibsen-2
Make sure you use

${xxx} in the simple syntax for Camel 3

On Sun, Jul 21, 2019 at 12:15 PM David Karlsen <[hidden email]> wrote:

>
> See [*] for validation error by the camel maven plugin for the properties
> component.
> Has this been removed in camel3? What is the new syntax/replacement?
>
>
>
> [*]
>
> [INFO] Detected Camel version used in project: 3.0.0-M4
> [INFO] Validating using Camel version: 3.0.0-M4
> [INFO] Endpoint validation passsed at:
> com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:16)
>
>         direct:uploadEndpoint
>
>
> [INFO] Endpoint validation passsed at:
> com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:24)
>
>         {{dhub.export.uploadUri}}
>
>
> [INFO] Endpoint validation success: (1 = passed, 0 = invalid, 1 =
> incapable, 0 = unknown components, 0 = deprecated options)
> [WARNING] Simple validation error at:
> com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:23)
>
>         Unexpected token p at location 0
>         properties:dhub.export.doUpload:false
>         *
>
> [WARNING] Simple validation error: (0 = passed, 1 = invalid)
> [INFO] Endpoint pair (seda/direct) validation success (0 = pairs)
> [INFO] Duplicate route id validation success (0 = ids)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  12.445 s (Wall Clock)
> [INFO] Finished at: 2019-07-21T12:13:29+02:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.camel:camel-report-maven-plugin:3.0.0-M4:validate (default) on
> project jfr-srv-batch: Endpoint validation success: (1 = passed, 0 =
> invalid, 1 = incapable, 0 = unknown components, 0 = deprecated options)
> [ERROR] Simple validation error: (0 = passed, 1 = invalid)
> [ERROR] Duplicate route id validation success (0 = ids)
> [ERROR] Endpoint pair (seda/direct) validation success (0 = pairs)
> [ERROR] -> [Help 1]
>
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Reply | Threaded
Open this post in threaded view
|

Re: camel3 properties component?

David J. M. Karlsen
Thanks - it passes now!

søn. 21. jul. 2019 kl. 12:58 skrev Claus Ibsen <[hidden email]>:

> Make sure you use
>
> ${xxx} in the simple syntax for Camel 3
>
> On Sun, Jul 21, 2019 at 12:15 PM David Karlsen <[hidden email]>
> wrote:
> >
> > See [*] for validation error by the camel maven plugin for the properties
> > component.
> > Has this been removed in camel3? What is the new syntax/replacement?
> >
> >
> >
> > [*]
> >
> > [INFO] Detected Camel version used in project: 3.0.0-M4
> > [INFO] Validating using Camel version: 3.0.0-M4
> > [INFO] Endpoint validation passsed at:
> >
> com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:16)
> >
> >         direct:uploadEndpoint
> >
> >
> > [INFO] Endpoint validation passsed at:
> >
> com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:24)
> >
> >         {{dhub.export.uploadUri}}
> >
> >
> > [INFO] Endpoint validation success: (1 = passed, 0 = invalid, 1 =
> > incapable, 0 = unknown components, 0 = deprecated options)
> > [WARNING] Simple validation error at:
> >
> com.edb.fs.tac.jfr.srv.batch.dhub.DhubUploadRouteBuilder.configure(DhubUploadRouteBuilder.java:23)
> >
> >         Unexpected token p at location 0
> >         properties:dhub.export.doUpload:false
> >         *
> >
> > [WARNING] Simple validation error: (0 = passed, 1 = invalid)
> > [INFO] Endpoint pair (seda/direct) validation success (0 = pairs)
> > [INFO] Duplicate route id validation success (0 = ids)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  12.445 s (Wall Clock)
> > [INFO] Finished at: 2019-07-21T12:13:29+02:00
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.camel:camel-report-maven-plugin:3.0.0-M4:validate (default) on
> > project jfr-srv-batch: Endpoint validation success: (1 = passed, 0 =
> > invalid, 1 = incapable, 0 = unknown components, 0 = deprecated options)
> > [ERROR] Simple validation error: (0 = passed, 1 = invalid)
> > [ERROR] Duplicate route id validation success (0 = ids)
> > [ERROR] Endpoint pair (seda/direct) validation success (0 = pairs)
> > [ERROR] -> [Help 1]
> >
> > --
> > --
> > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>


--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen