Hi
Is there more of that stacktrace?
Though OSGi can be tricky with classloading.
On Tue, Jul 7, 2015 at 10:00 PM, Pratt, Jason wrote:
> Hello - I just started seeing this in my logs and haven't seen it happening
> before. I am running:
>
> Karaf-3.0.4
> Camel-2.15.2
>
> I am at a loss for wha
Sounds good unfortunately this doesn't work.
Here is a simple case which reproduces the problem:
---
Main class:
package fr.cameltest;
import org.apache.camel.CamelContext;
import org.apache.camel.ProducerTemplate;
impo
Hi
Ah well you cannot do like that as Camel is not a bean container like
spring etc. When you refer to the .class then Camel creates a new
instance once (because it has cache = true by default).
You need to create a bean instance and register it in the registry and
then you can use it as singleto
Just an update, I've tried updating Rhino to this version:
/opt/aepona/ase/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.rhino/1.7R2_3/org.apache.servicemix.bundles.rhino-1.7R2_3.jar
ans then tried using JSON.parse again.
This time I no longer see the 'JSON is not defined' e
Hi Claus,
Ok, But when we register the bean manually in the registry,
Camel does not bind a ProducerTemplate instance in the bean property
annoted with @Produce (this is my initial issue).
It does when using .bean(MyBean.class, "MyMethod") because of IoC has you said.
Unfortunately, this synta
Hi
Ah you can create the bean instance using Camel's injector and it does
the ioc thingy
MyBean myBean = camelContext.getInjector().newInstance(MyBean.class);
On Wed, Jul 8, 2015 at 12:02 PM, Benjamin Legendre wrote:
> Hi Claus,
>
> Ok, But when we register the bean manually in the registry,
great :)
That's what i was looking for.
Thank you Claus
- Mail original -
De: "Claus Ibsen"
À: users@camel.apache.org
Envoyé: Mercredi 8 Juillet 2015 12:19:04
Objet: Re: How to instanciate a bean in camel registry for use with @produce
annotation
Hi
Ah you can create the bean instanc
Hi,
I need to split a file that contains multiple message with multiple lines
like this:
ENT abcd
G00 efgh
G01 ijkl
G02 mnop
ENT 1234
G00 5678
G01 1245
G02 1234
In this cas I need to retreive two files like that:
File 1:
ENT abcd'
G00 efgh'
G01 ijkl'
G02 mnop'
File 2:
ENT 1234'
G00 5678'
G01 124
Hi,
can you some body provide working example for calling stored procedure using
camel copmonent.
Thanks in advance.
--
View this message in context:
http://camel.465427.n5.nabble.com/Oracle-Procedure-Calls-with-Camel-tp5745115p5768993.html
Sent from the Camel - Users mailing list archive at
Hi,
i have seen tutorials of using CAMEL OSGI with Apache Karaf / Apache
ServiceMix. i want to know weather i can use Equinox Framework instead of
Karaf/ServiceMix. is there any tutorials on using Camel OSGI with Equinox
Framework?.
Regards,
Mayur
--
View this message in context:
http://c
Hi
You can configure karaf / servicemix to use Equinox as the osgi
framework instead of felix. You can do this from a config file in the
etc directory.
To run with just Equinox is also possible but then its alot more work
to install all the bundles and whatnot.
Its more the other way around - fi
I am using version 5.10.2 of camel. I tried updating to the latest but still
see the issue.
I have not found out a solution to the problem. Could anybody please point
me in the right direction.
--
View this message in context:
http://camel.465427.n5.nabble.com/Getting-a-javax-jms-JMSExceptio
I don't know whether there is one; perhaps you can use camel-jpa with
EclipseLink (default OpenJPA doesn't support JPA 2.1).
You can use this bean instead:
https://github.com/quephird/camel-stored-procedure though it doesn't
support Oracle arrays or structs as function/procedure arguments/retu
A more complete stacktrace is listed below. It appears to be timing out, but I
am not sure.
Exchange
---
Exchange[
Id ID-ALA-JPRATT-L2-57521
This also happens if we have a LARGE dataset.
2015-07-07 21:07:31,969 | INFO | #1 - timer://foo | WpmToDartFinishProcessor
| 315 - core-product - 1.0.1 | >>> getProductService =
com.wrs.ept.dart.core.product.service.ProductLineServiceImpl@7dd31e8b
2015-07-07 21:40:39,928 | INFO | #1 -
Hi,
I am using Simple expression (camel version 2.15.2) which in somecases
throws CamelExecutionException. I am handling the exceptions, but stacktrace
(logging it to logs/console) contains payload information where it is
failing on. I understand its good thing for development. But in productio
Hello,
is there an example how access a database from a spring-boot camel route ?
Regards
labo
--
View this message in context:
http://camel.465427.n5.nabble.com/spring-boot-camel-and-database-access-tp5769003.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Yes you can usually control the level with the options on the error
handler. And turn of the message history etc.
Though we could maybe look into see if we can improve something in
Camel too, can you show that stacktrace?
On Wed, Jul 8, 2015 at 11:05 PM, MC <2320...@gmail.com> wrote:
> Hi,
>
Hi
It would be almost the same as any other example to access a database
with Camel.
There is some at
http://camel.apache.org/examples
And a few more in the examples directory of the Camel download.
On Wed, Jul 8, 2015 at 9:59 PM, labo wrote:
> Hello,
>
> is there an example how access a data
Hi
That indicates you need to either limit the returned data set so you
can process it faster, or increase the TX timeout so it wont trigger a
timeout while you process the data.
On Wed, Jul 8, 2015 at 8:56 PM, Pratt, Jason wrote:
> This also happens if we have a LARGE dataset.
>
> 2015-07-07
Hi
Thanks I have just had a look from the support case from RH. I can see
that you do it a bit wrong, when you add onCompletion to the exchange,
from the - eg kinda like 2 times.
This causes the problem as when you do that the onCompletion, as your
processor is called from on completion, you sho
21 matches
Mail list logo