GitHub user catoaune opened a pull request:

    https://github.com/apache/camel/pull/2202

    Update xquery-component.adoc

    It took me quite a while to figure out that custom functions in Camel 2.18, 
2.19 and 2.20 could result in a NullPointerException, so I think it could save 
others some time and frustration if there is a note like the one i propose in 
the documentation. I can not for sure promise that this will work in 2.21, but 
based on the discussions in PR CAMEL-12081, it looks like it will be fixed 
there.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/catoaune/camel patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2202.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2202
    
----
commit a6157a541ca209799bfabdd7bf8e82e7b46fe161
Author: Cato Aune <cato.aune@...>
Date:   2018-01-30T22:00:42Z

    Update xquery-component.adoc
    
    It took me quite a while to figure out that custom functions in Camel 2.18, 
2.19 and 2.20 could result in a NullPointerException, so I think it could save 
others some time and frustration if there is a note like the one i propose in 
the documentation. I can not for sure promise that this will work in 2.21, but 
based on the discussions in PR CAMEL-12081, it looks like it will be fixed 
there.

----


---

Reply via email to