You configure method is not called every time your route executed. Only once to
create the route. If you want some code executed each time to create a new user
object, create a processor that executes your user create code and puts the
user object in the body of the message.
Thanks,
Joe
>
Raul,
That was initially what I was trying to find. I figured if there was a bus
there must be a way to use it like that but couldn't find any good
information.
What I ended up with is something works in the other direction now. When I
install my service bundle it registers a service
I'll have to check out the Aires remote services project. The only real work
in this for me was the JAXRS/JAXWS server set ups. I didn't really want to
replicate hardened code in Camel. But it went it fairly painlessly. The
service discovery is pretty straightforward and I'm aiming to keep
Was using this example below as a model with version 2.14.1
http://icantrap.github.io/2015/01/11/swagger-integration-with-standalone-camel-using-embedded-jetty/
Trying to upgrade to 2.16.2 or 2.16.3 did not work. Played with it
considerably as the servlet changes and you use camel-swagger-java
Hi
I blogged about this a long while ago. CXF registers all buses as OSGi
services, so you can create a service listener that watches them come and
go, reacting accordingly. You do get a reference to the bus, so you can add
interceptors, features or change whatever configuration you'd like to by
I have now created the Aries Remote Service Admin project.
See http://aries.apache.org/modules/rsa.html
It has similar features to what you described but also is an OSGi standard.
So you can nicely extend it while not needing to implement all yourself.
Christian
2016-03-14 15:37 GMT+01:00 Ranx
Yeah. Converting the body to a String is a good way to guarantee that the
conversion logic we're interested in will kick in.
Just for reference, have a look at the MongoDbConverters class.
Cheers,
Raúl.
On 14 Mar 2016 18:52, "gramanero" wrote:
> Yes I can try that. To make
I have to show an OPTIONS route using rest dsl, which naturally shows up on
the api swagger ui. The OPTIONS is the preflight for a POST. I don't know
how to hide, if no other way, this would be most welcome. We use routes and
annotations, and servlets, and no xml (no web.xml or other).
--
Yes I can try that. To make sure I am on the same page is this what you are
asking for?
*Route:*
/
/
*JSON to send:*
/{ "time" : { "$date" : "2016-02-19T17:37:57.673+" } }/
Or do think we should not perform the convertBodyTo string?
Thank you for the quick response! I seriously
Jackson is not MongoDB-specific and therefore doesn't recognise $date types.
The camel-mongodb component uses MongoDB's JSON class to parse Strings,
which does recognise Mongo-specific types:
http://api.mongodb.org/java/2.6.5/com/mongodb/util/JSON.html.
Can you try sending the JSON string
Any thoughts on my last post as to how we can use ISODates with camel-mongo?
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5779035.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi clauss, Thanks for the fast reply.
That worked perfectly. Thank you very much!
Best regards.
Rodrigo
--
View this message in context:
http://camel.465427.n5.nabble.com/Connecting-to-LDAP-Server-tp5779023p5779026.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Or some valid ldap filter that matches what you want to return
(objectClass=*)
It seems you need to provide a filter, not sure if the filter is just
"" if that means return everything.
On Mon, Mar 14, 2016 at 4:12 PM, Claus Ibsen wrote:
> Try add a
>
>
>
> before
Try add a
before sending to the ldap, so the message body is empty and not null.
On Mon, Mar 14, 2016 at 4:05 PM, rburdet wrote:
> Im trying to connect to an online ldap server (defined here:
>
Im trying to connect to an online ldap server (defined here:
http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
)
Server: ldap.forumsys.com
Port: 389
DN: ou=mathematicians,dc=example,dc=com
This is my bean
What version of Camel are you using?
And the error is about the api docs with camel-swagger-java you can
enable. I can't remember if it was for the next release we added that
in jetty 9 or in the latest release.
On Mon, Mar 14, 2016 at 3:34 PM, Az Madu wrote:
> Hi guys,
>
>
Christian,
I'll take a look at that.
The nice thing about using the white board as a webservice registration
mechanism is that I can define all my interceptors, handlers, and security
in a single project. Then when a bundle is installed it registers itself
for exposure. My new server project
Hi guys,
We're using Camel with Rest DSL and while switching from netty (which
works) to jetty9 (not yet working) we're getting the error:
"Component jetty is not a RestApiConsumerFactory"
A question has been posted to StackOverflow.com and I'd be grateful if any
knowledgeable person might be
You need to build from source as the SNAPSHOTs on the mvn snapshot
repo is very often out of date
On Mon, Mar 14, 2016 at 12:49 PM, fabrizio.spataro
wrote:
> Hello,
>
> The jira is resolved end I am using camel-2.16.3-SNAPSHOT but i'm still same
> bug
>
> Is it ok?
>
Hello,
The jira is resolved end I am using camel-2.16.3-SNAPSHOT but i'm still same
bug
Is it ok?
what am I doing wrong?
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-swagger-java-not-parse-property-tp5778734p5779008.html
Sent from the Camel - Users mailing list
20 matches
Mail list logo