export="true" services="import" meta-inf="import" />
> export="true" services="import" meta-inf="import" />
>
>
>
>
>
> With this setup, no success.
>
>
> Best regards
Drazen,
Camel CDI uses DeltaSpike Container Control to start and stop a CDI
container in conjunction with having an out of the box Main class. It
makes no other use of DeltaSpike.
Camel CDI + DeltaSpike work well together, I use them today. I'm also the
one who wrote the module.xml's you're loo
Hi,
Another thing to look at, are you using a common quartz instance that has
job persistence enabled (e.g. a database job store instead of RAMJobStore)?
John
On Thu, Nov 10, 2016 at 7:10 AM Claus Ibsen wrote:
> Hi
>
> You can maybe use CDI @Produces bean that has a method that produces
> the
Brad,
Its not clear from your email whether your confusion is how to use bean
validation or how it integrates with camel.
the integrating with camel part is pretty straight forward. Assuming that
the input to the segment of the route is a properly annotated bean, then
those bean attributes will
Hi Bilgin,
Typos aside, do you know if tomorrow's wedinar is going to be recorded? I
have a conflict at that time, but would be highly interested in watching
afterwards.
John
On Mon, Jun 6, 2016 at 11:13 AM Bilgin Ibryam wrote:
> You can see how excited I'm from the double typo in the subject
You should quote the string when passing it in, e.g.
Then it will be passed in as the second argument as a string.
On Thu, Apr 28, 2016 at 11:48 AM ravi21588 wrote:
> Hi All,
>
> Iam getting below warn when i call the bean ref in camel route
>
>
> 17:44:18,385 WARN [org.apache.camel.util.Obj
So here's a simple project. Its working fine when I run it, so if you can
point out whats different about your setup.
https://github.com/johnament/camel-cdi-annotated
John
On Tue, Apr 26, 2016 at 6:34 PM John D. Ament wrote:
> Could you provide a bit more context about how you
Could you provide a bit more context about how you're calling CDI.current?
Like maybe the full class or an example class?
I'll try to put together an example to show it working, may be something to
work through. I suspect that the bean-discovery-mode=annotated is the
problem, if you're calling wi
urely referring to as a solution ;-)
>
> > -----Original Message-
> > From: John D. Ament [mailto:johndam...@apache.org]
> > Sent: Tuesday, April 26, 2016 7:02 AM
> > To: users@camel.apache.org
> > Subject: Re: Not seeing query params on REST DSL
> >
> > IMHO what S
That should work without a hitch (CDI.current()).
Do you have a beans.xml file in the right location in your camel context?
John
On Tue, Apr 26, 2016 at 8:18 AM kalber wrote:
> Hi,
>
> i must create 'FileIdempotentRepository' as managed named beans
> programmaticly.
>
>
> For this i tried to u
t(9000);
> > rest("/asset")
> >
> .put("/{addr}/pong").param().name("id").type(RestParamType.query).endParam()
> >.to("log:steve?showAll=true")
> >.to(&quo
sing Camel 2.16.3 and restlet.
> >
> > -Steve
> >
> > > On Apr 20, 2016, at 7:27 PM, John D. Ament
> > wrote:
> > >
> > > Steve
> > >
> > > Could you share your dependencies as well? Which rest runtime are you
> > > using?
I'm not sure if this is a bug or typo or what :-)
I have a simple rest DSL configuration:
restConfiguration()
.component("jetty")
.port(9097)
.bindingMode(RestBindingMode.auto);
If I take out the binding mode, everything is interpretted as
Steve
Could you share your dependencies as well? Which rest runtime are you
using?
On Apr 20, 2016 17:12, "Steve Huston" wrote:
> I am using the REST DSL in a Camel SCR unit test. I have a route (being
> tested) that will initiate a http request at this URL:
>
> @Test
> public v
lite
local.
John
On Wed, Apr 13, 2016 at 8:22 AM Anton wrote:
> On Wed, Apr 13, 2016 at 12:44 PM, John D. Ament
> wrote:
>
> > Just wondering, does this happen the first time the route gets hit or
> > subsequent times?
> >
> Yes, it appears to happen the first tim
The JPA component doesn't do any type conversion (based on code
inspection). It assumes the object coming in is the right type. Good
catch on adding the converter to the body.
John
On Wed, Apr 13, 2016 at 7:18 AM Antonin Stefanutti
wrote:
> Yes, I haven’t checked the code though I guess the J
Hi Anton,
Just wondering, what does your deployment look like? Weld? OWB? Versions?
Does your beans.xml use default discovery mode? Is it empty? Are you using
all?
If you're not sure f these, could you try adding a scope, e.g.
@ApplicationScoped to the converter and try again?
John
On Wed, Apr
Hi Anton,
Just wondering, does this happen the first time the route gets hit or
subsequent times?
Have you tried providing an explicit EntityManagerFactory bean to the
endpoint?
John
On Wed, Apr 13, 2016 at 6:24 AM Anton wrote:
> Hi
>
> I tried changing this from sqlite to h2, and now I get a
Hi,
I was trying to setup the AMQP component to talk to an Artemis server
(1.2.0). I know that artemis has some support for automatic destination
creation. I'm not seeing this behavior, is there some special setting I
need to set?
Setup of JMS message listener invoker failed for destination 'in
rametrisation when
> reading
> > the code.
> >
> > Still if you think that is a better approach for you use case, indeed,
> you
> > can declare a RouteBuilder bean @Dependent, having it parameterised
> > depending for example on the InjectionPoint metadata and a
On Thu, Mar 24, 2016 at 7:29 AM Charlee Chitsuk
wrote:
> Hi Antonin,
>
> Thank you very much. This answer my question.
>
> Please correct me if I'm wrong. Since it is a @Dependent, I can register
> the new instance (with different route-id and parameters) to the context as
> much as possible. Clo
Hi,
I was wondering about opinions from others on approaches.
My requirement at a very high level, is to provide a REST API for pulling
messages from a queue in bulk, and at a later point (usually within a
minute or two) acknowledging that message. REST is a preferred approach
since the data can
ikes me as a maven bug/error. I'm using Maven 3.3.9. But even
then, it looks like CI has been failing for a long time. Doing a forceful
rebuild locally and pointing to my local fixes the issue w/ undertow.
John
On Sat, Feb 27, 2016 at 11:03 AM John D. Ament
wrote:
> Yeah hmmm, the p
rtow, so we use
> different ones in our example.
> It works fine.
>
> You can play with this example and use the other components. Mind some
> are only available in Camel 2.17.
>
> On Sat, Feb 27, 2016 at 2:46 PM, John D. Ament
> wrote:
> > Its probably worth als
ged a ticket and work on implement this.
> https://issues.apache.org/jira/browse/CAMEL-9652
>
> On Sat, Feb 27, 2016 at 7:27 AM, Claus Ibsen
> wrote:
> > Hi
> >
> > I dont think we have implemented it for it, you are welcome to log a JIRA
> > http://camel.apache.o
ged a ticket and work on implement this.
> https://issues.apache.org/jira/browse/CAMEL-9652
>
> On Sat, Feb 27, 2016 at 7:27 AM, Claus Ibsen
> wrote:
> > Hi
> >
> > I dont think we have implemented it for it, you are welcome to log a JIRA
> > http://camel.apache.o
I'm really interested in using Camel's REST DSL and Swagger to provide
documentation on my API routes. I was hoping to use spark as well, but I
can't seem to get it to run. I receive this error
java.lang.IllegalArgumentException: Component spark-rest is not a
RestApiConsumerFactory
at
org.apache
Hi Preben,
That would be awesome. I created this ticket as well ->
https://issues.apache.org/jira/browse/CAMEL-9648
I did take a look at your code (since it pops up when you search for camel
ironmq in the google :-) and the code looks fine from a donation standpoint
(from a very high level ASF s
All,
I was wondering what the status of Iron MQ support was?
I saw this thread from mid last year about a possible donation, but it
doesn't seem like it ever came to fruition?
http://mail-archives.apache.org/mod_mbox/camel-dev/201505.mbox/%3c1431160610135-5766898.p...@n5.nabble.com%3E
Looking b
All,
I was wondering, whats the right component to use if I'm connecting to an
ActiveMQ Artemis server? Artemis supports the standard AMQP protocol, can
I just use activemq component to connect?
John
Hey guys
I've got an odd ball question, just to see if anyones tried it. Suppose
that I'm writing messages to SQS, where there is no guaranteed ordering.
One of the patterns proposed is to follow a resequencer -
http://camel.apache.org/resequencer.html to enforce message sequence number
ordering.
gt; >
> > Weld returns the complete set of qualifiers as opposed to OWB.
> >
> >> On 22 Feb 2016, at 17:36, John D. Ament wrote:
> >>
> >> Hi Antonin!
> >>
> >> For #2, that's weird. What do you see in the output?
> >>
No, I mean the the storage mechanism behind it. Exchanges (and their
messages) are in memory models. When a message is delivered to an
endpoint, the endpoint figures out what to do with it. That delivery is
essentially your storage mechanism. You might be delivering data to a
mysql table, or a
The storage of headers is completely up to whatever component you're using
to store the data. What type of component are you using?
John
On Mon, Feb 22, 2016 at 10:39 PM Demon Hunter <
claire.chanm...@newgens.com.sg> wrote:
> Hi,
>
> I would like to know how large data camel header can store? b
thods for Instance with
> selected qualifiers.
>
> I have a fix for the former. I’ll polish it a bit and commit it ASAP. For
> the later, I’ll report an issue in OWB JIRA and reactivate the test case
> once it gets fixed.
>
> Antonin
>
> > On 22 Feb 2016, at 13:40, John
Hi all,
I was looking at the changes that went into Camel 2.17 with CDI injection
support. It seems that injection support doesn't work consistently when
done not using an annotated member.
I tried a few different ways:
@Inject
@Any
private Instance endpointInstance;
...
endpointInstance.sele
Did you receive an error when you did this? What container are you
deploying to?
On Thu, Feb 18, 2016 at 12:54 PM dpravin wrote:
> I am using Quartz2 component for scheduling a route in blueprint. I want to
> to inject a datasource to Quartz bean. I tried with following two different
> options,
Hey guys
Just wanted to get a couple of points of clarification. I'm interested in
using Camel + Kinesis. According to this page
http://camel.apache.org/aws-kinesis.html it says that Kinesis was supported
as of Camel 2.7. I doubt this to be true.
In addition, I was wondering if there was any p
Hi all,
I was looking for a way to have a shutdown callback. I overrode the
doShutdown method of DefaultShutdownStrategy, thinking it would be called
for shutdown of the camel context. Turns out that it's being called as a
part of the shutdown for each route as well.
Is there a more appropriate
ect @ EA*
>> *Author of: Hardcore Java (2003) and Maintainable Java (2012)*
>> *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39
>> <http://www.linkedin.com/pub/robert-simmons/40/852/a39>*
>>
>>
>> On Sat, Dec 14, 2013 at 9:09 AM, John D. Am
Why not use a polling consumer?
On Sat, Dec 14, 2013 at 6:25 AM, Romain Manni-Bucau
wrote:
> Hi
>
> any opinion on how to make consumers consume all what is possible when
> program is running then shutdown the route once processed?
>
> It is basically needed for BatchEE camel extension (
> https:
Sounds like a classloader issue. How are you packaging camel into your app?
On Tue, Nov 26, 2013 at 12:15 PM, simholte wrote:
> I'm trying to use the Camel EJB component to make a call to an EJB but I'm
> having problems calling the bean with anything other then a String.
>
> My Camel version is
I'm using Camel 2.10.7. We just noticed in our code we have a timer with
no values set. How often will this timer fire?
John
Let's say that I'm looking to write a component. I want my component
to understand the Object... params that are passed in to it, such that
instead of camel processing:
toF("foo://%s","something")
I want the "something" to be passed to my component instead.
Is this possible?
Right, so just to be clear, to treat it as optional it should be like this:
Map headers = exchange.getIn().getHeaders();
//headers.put("dns.server", null);
//headers.put("dns.server", ResolverConfig.getCurrentConfig().server());
headers.put("dns.class", "");
headers.put("dns.name", "www.example.co
Kuro,
Would you consider it optional in that you don't specify it in the endpoint?
On Sun, Oct 6, 2013 at 12:40 PM, kuro <962...@gmail.com> wrote:
> Hi.
>
> From the camel wiki, dns.server option is "Optional".
>
> I will try to create a JIRA ticket.
>
>
>
> --
> View this message in context:
>
I've actually been curious about this as well. Some of the things
I"ve thought about that would be cool:
- Firing CDI events for exchanges, and making processors simply
observer methods.
- Using proper CDI scopes (rather than being bound to the spring contexts)
On Mon, Sep 16, 2013 at 11:12 AM,
Does DTPowerConsumption implement java.io.Serializable? It needs to.
On Tue, Sep 10, 2013 at 10:52 AM, vsmahesh wrote:
> Hi i am getting the following erro when i try to route to activemq from cxf
> endpoint which is getting soap request in POJO format.When i route to queue
> i am getting not
oftware Integration Specialist
>
> Apache Camel committer: https://camel.apache.org/team
> V.P. Apache Camel: https://www.apache.org/foundation/
> Apache Member: https://www.apache.org/foundation/members.html
>
> https://www.linkedin.com/pub/christian-mueller/11/551/642
>
>
Try this
In your blueprint.xml, the xsi:schemaLocation add
http://camel.apache.org/schema/blueprint
http://camel.apache.org/schema/blueprint/camel-blueprint-2.10.4.xsd
and then in the body,
http://camel.apache.org/schema/blueprint";>
On Fri, Aug 30, 2013 at 2:32 PM, Tom Ellis wrote:
> I asked
camel.apache.org/team
> V.P. Apache Camel: https://www.apache.org/foundation/
> Apache Member: https://www.apache.org/foundation/members.html
>
> https://www.linkedin.com/pub/christian-mueller/11/551/642
>
>
> On Wed, Aug 21, 2013 at 3:18 PM, John D. Ament wrote:
>
>>
I guess one other important thing to point out is that this is camel
2.10.6 on service mix 4.5.3.
On Wed, Aug 21, 2013 at 9:17 AM, John D. Ament wrote:
> Not sure what more details I could provide.
>
> Basically, I have a polling consumer on a queue. I see that polling
> consumer
ssage gets plucked.
On Wed, Aug 21, 2013 at 6:06 AM, Christian Müller
wrote:
> No, this is not expected. Can you provide more details?
>
> Best,
> Christian
> Am 21.08.2013 05:55 schrieb "John D. Ament" :
>
>> Hi,
>>
>> Assuming that I'm using a
Hi,
Assuming that I'm using activemq queues as my components, how quickly
should a message be delivered?
In a number of routes, I'm moving data from one queue to another
queue, and over time the amount of time that it takes for a message to
go from A to B to C is steadily increasing. Is this exp
Hi,
Why isn't 2,1,3 possible?
Why not setup your consumer before you start up your camel context?
On Wed, Aug 7, 2013 at 7:22 PM, markgize wrote:
> We are interested in Camel but have a specific startup sequence that we need
> to follow:
>
> 1) Open a JMS topic consumer for our updates, but, do
Since you have activemq, can you try it with the activemq component
rather than the JMS component?
Can you share more of your example, the problem is that it doesn't compile.
I put together a simple example as well that demos this, but doesn't
reproduce your error. I'm wondering if somehow you'
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> (English)
> http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
>
> On Thursday, August 1, 2013 at 1:26 AM, John D. Ament wrote:
>
> > Hi all
Hi all
I'm dynamically binding a CXF endpoint to a processor instance, using a
route like this:
from(simpleEndpointURI +
"?dataFormat=MESSAGE&wsdlURL=wsdl/Import.wsdl&loggingFeatureEnabled=true").process(new
ImportProcessor());
I setup a simple way of reading this body using an InputStream, but
, 2013 at 7:38 AM, John D. Ament wrote:
> Hi all
>
> I was wondering, how can I dynamically register CXF endpoints? I'm using
> the Java DSL. I'd like to manually instantiate the endpoint via java DSL
> and route to a certain destination. I'd also like to r
Hi all
I was wondering, how can I dynamically register CXF endpoints? I'm using
the Java DSL. I'd like to manually instantiate the endpoint via java DSL
and route to a certain destination. I'd also like to route the request
through our translation and then put it on to a queue.
John
Karim,
Did you try date.minusDays(30).getMillis()?
Typically long formats for dates/times are in milliseconds.
On Mon, Jul 29, 2013 at 4:45 PM, Karim Garza wrote:
> Hi,
>
> I am trying to use the MessageFilter to process files that are 30 days or
> older. I came up with this code to do the wor
<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/7/28 John D. Ament
>
> > Hi Romain
> >
> > I think that's plain camel-cdi. The question is more ar
u just need to
> ensure cdi impl bundle started before
> Le 28 juil. 2013 21:01, "John D. Ament" a écrit :
>
> > Hi all
> >
> > I'm interested in using camel-cdi support, but not within an EE
> container;
> > instead I want to run it with Karaf and Ser
> You can add and remove routes on the fly. Then each route can be
> independent and thus allow a level of multi tenancy.
>
> On Sat, Jul 27, 2013 at 2:32 PM, John D. Ament
> wrote:
> > Hmm yes I had seen that, with ${body..}, if I'm sending my own object as
> > the me
Hi all
I'm interested in using camel-cdi support, but not within an EE container;
instead I want to run it with Karaf and Service Mix. The docs at [1] seem
to indicate that we need to use a bootstrap class to setup the container,
however it seems like with service mix, service mix would need to d
ot;, see:
> http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
>
> And there is some other EIPs for dynamic like routing slip, dynamic
> router, content based router, etc.
> http://camel.apache.org/eip
>
>
> On Fri, Jul 26, 2013 at 6:41 PM, John D. Ament
> wrote:
Hi all
I have a somewhat interesting use case. I want to create an ESB that has
some level of multitenancy in mind. What I'm thinking is that I'll have a
single end point that acts as the entry, in this case a SOAP based web
service. I'm going to take the data from this webservice and put it on
67 matches
Mail list logo