Thank's Claus, I must admitt I hadn't thought about that.
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-FailOverLoadBalancer-tp5738515p5738728.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
It seems that only a fixed Period for the delay can be used in the Scala
DSL. I want to have different values for test and production (a 1 hour
message delay is no good when running unit tests). It's possible to use an
expression in the Java DSL though.. so is one way to do this to override
onJ
Hi Claus,
i tried ,but got below error* FuseESB:karaf@root> features:install
activemq-cxf*
Error executing command: No feature named 'activemq-cxf' with version
'0.0.0' av
ailable
thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Command-to-add-activemq-cxf-2-6-0-int
Hi ,
when I try to add the active mq dependencies to an existing pom file of the
type "Camel CXF Contract First" project.
It is showing error in the tag under artifactid
in the pom file.Please take a look in the error screen shot.
These are the dependencies added
org.apache.activemq
Hi
You install using features. So do a features:list to see which is available.
And this is an Apache Camel mailing list. You talk about Fuse ESB /
ServiceMix / Karaf. So in the future please use another mailing list
for these kind of questions as its not related to Apache Camel.
On Thu, Sep 5
Hi
What version of Camel do you use?
There may be room for improvement in the Scala DSL. As we love
contributions you are welcome to dive into the code base of
camel-scala and provide patches to add such functionality.
http://camel.apache.org/contributing.html
Also you are welcome to log a JIRA
Hi
Yeah multipleConsumers is not support for vm. As the consumers is not
static shared.
On Wed, Sep 4, 2013 at 4:38 PM, Cristiano Costantini
wrote:
> Hi Claus,
> that what I would expect and it works if all the consumers are on the same
> CamelContext.
>
> If I start two consumers on two differe
Hi,
Did you put the Fuse maven repo into your pom?
As you know, we don't publish the fuse artifact into the public maven repo.
So you can not access the fuse jar from the maven public repo
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.r
Hi
The DSL in camel is intended to be as identical between Java and XML
as possible. In fact the XML is generated based on Java classes.
This allows people to easily transition between java and xml dsl. And
also read examples in Java and understand how to do that in XML - and
vice versa etc.
So
> Yeah multipleConsumers is not support for vm. As the consumers is not
> static shared.
>
> Hi,
is that something intentional (sharing statically the consumers had other
issues) or something, let say, a patch for is welcome?
Thank you,
Cristiano
On Thu, Sep 5, 2013 at 10:15 AM, Cristiano Costantini
wrote:
>> Yeah multipleConsumers is not support for vm. As the consumers is not
>> static shared.
>>
>> Hi,
> is that something intentional (sharing statically the consumers had other
> issues) or something, let say, a patch for is welcome?
>
>
Hi
You can just use a java bean to query the database to get the rows you want.
You can then call the bean from a Camel route, and trigger the route
using a timer etc if you want.
in your bean you can keep state and keep track of the row number
interval to fetch.
And from your bean you can use
Hi
Also you dont have to use Camel routes.
Sometimes just use Camel as a client API and use ProducerTemplate /
ConsumerTemplate to use the Camel components can be fine.
On Wed, Sep 4, 2013 at 6:53 PM, lassesvestergaard
wrote:
> Hi all.
>
> This is a spinoff of a previous post:
> http://camel.4
Hi Willem,
Thanks a lot
I am very new to camel.Could you please check the repo I added.
release.fusesource.org
FuseSource Release Repository
http://repo.fusesource.com/nexus/content/repositories/releases
false
true
I'm using Camel 2.11.1.
I'd looked at the 2.11 branch and it didn't look too hard to add it so I'll
have a go at a patch. However, if we want to use a released version of
Camel, is the approach of overriding onJavaBuilder() the way to go?
thanks!
--
View this message in context:
http://camel
How to hit (give request to) an external JAX-WS and JAX-RS service and also
get the response from JAX-WS and JAX-RS service using camel ?
>From the documents and example, I can understand that we can create a proxy
webservice and expose that proxy webservice on the fly by giving
configuration de
Hi...
Can you help me in resolving the error* ERROR | xtenderThread-12 |
ContextLoaderListener| 113 - org.springframework.osgi.extender -
1.2.1 | Application context refresh failed
(OsgiBundleXmlApplicationContext(bundle=com.outotec.mes-bw-energyconsumption-queue,
config=osgibundle:/ME
The xml file is invalid.
You can validate that from Eclipse or other editors which can have
such functionality.
It may be related to broker namespace not being defined.
If you dont know how to do about that, then spend time searching the
internet and learn about this.
Please spend a bit more tim
I'm writing some test code which uses and HTTP/HTTPS proxy to mock 3rd
party webservices.
For non-camel code, I configure the proxy using the java system properties:
http.proxyHost, http.proxyPort, https.proxyHost, https.proxyPort,
http.nonProxyHosts.
These settings seem to be ignored by camel, s
Hi,
According to the Camel documentation you can use a custom idempotentKey that
determines whether a certain file is already read with a uri-option:
This didn't seem to work for us and after a very long debugging session we
discovered the following does work:
Are we doing something wrong or do
I configured this route :
from("sql:select obj_code, prv_targa, stc_pccode, prv_prodtela, prv_modtela,
prv_tipobus from cust_positions where obj_org in ('ICT') and obj_class in
('BUS') order by prv_concessi?dataSource=#dataSource.infor&noop=true")
.process(new Export
Hi Christina;
This does not happen everytime; though it happens preodically;
will post the thread dump once I see it.
Though; I am posting the camel routes I use in my application:
context.addRoutes(new RouteBuilder() {
public void configure() {
Hi Ceposta,
After enable debug i can see following log details.
2013-09-05 08:02:41,023 | DEBUG |
Endpoint[activemq://queue:BOA.InboundQueue] consumer received JMS message:
ActiveMQTextMessage {commandId = 24, responseRequired = true, messageId =
ID:Corp-TSOpus02-50552-1378385398624-4:1:1:1:20, o
Hi,
I tried deploying camel-activemq example availabe in FUSE-IDE. I am getting
the below error.Thanks in advance
*Caused by: java.lang.IllegalArgumentException: Could not load property
editor: org.apache.activemq.util.BooleanEditor*
at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHa
HI,
help me in resolving this error
* java.lang.IllegalArgumentException: Could not load property editor:
org.apache.activemq.util.BooleanEditor*
thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Could-not-load-property-editor-org-apache-activemq-util-BooleanEditor-t
What is the problem?
I assume you get a Map representation of the row. And a List to
contain the rows, eg List.
On Thu, Sep 5, 2013 at 2:57 PM, kalber wrote:
> I configured this route :
> from("sql:select obj_code, prv_targa, stc_pccode, prv_prodtela, prv_modtela,
> prv_tipobus from cust_posi
We are developing an application which uses active mqueue and apache camel as
router. This application is getting .html files as input (this files are NOT
xml compliant). Depending on the prefix of the filename I have to route the
file to different process. Actually the pattern "message router" /
Hi
You may have some property placeholder clash with spring or something.
The doc is correct you can use ${ } or $simple{ }.
On Thu, Sep 5, 2013 at 2:29 PM, fransguelinckx
wrote:
> Hi,
>
> According to the Camel documentation you can use a custom idempotentKey that
> determines whether a cert
Î receive for every row of the resulset an exchange - body with a
LinkedCaseInsensitiveMap object like this :
{OBJ_CODE=6036.1, PRV_TARGA=EL809DT, STC_PCCODE=3232.PC, PRV_PRODTELA=null,
PRV_MODTELA=530 K, PRV_TIPOBUS=null}
My question is how can a configure out the from endpoint to send me once a
give this a shot...
${header.CamelFileName} regex '^prefix.*$'
On Thu, Sep 5, 2013 at 8:58 AM, luixv wrote:
> OK, thanks for your answer. How would you code this using spring xml?
>
> Luis
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-mes
Hi,
Camel was wonderful piece of software and using it in production for more
than a year. Our version of Camel was 2.10.1
I recently added few additional route (and bug in buz logic too) to
interface with additional systems, all the routes are doing the similar
job. They read JMS message from a
So what's the underlying concurrency issue? Ordering? Can you just have a
route that multiplexes all of those incoming queues into a single queue (or
in-mem queue) and then have a route w/ only one thread that does CBR and
invoke the correct bean?
On Thu, Sep 5, 2013 at 9:02 AM, gnani swami wrote
Hello,
I have two file endpoints, I need to route the files using camel routes.
I have a web UI where I will provide the two file endpoints detail, One I
submit the details It has to create a camel context file.
1. I am able to achieve this using route builder, but this is in-memory.
When the
Post the complete stack trace. Then only we can help.
Thanks
Guru
gnanaguru.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Active-Mq-example-deployment-error-tp5738760p5738798.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Pls help me...
*Thanks*
Prabu.N
On Thu, Sep 5, 2013 at 6:41 PM, Prabu wrote:
> Hi Ceposta,
>
> After enable debug i can see following log details.
>
> 2013-09-05 08:02:41,023 | DEBUG |
> Endpoint[activemq://queue:BOA.InboundQueue] consumer received JMS message:
> ActiveMQTextMessage {commandId
Seems to be some kind of classpath issue and a dependency cannot be found.
On Thu, Sep 5, 2013 at 5:46 AM, vrrajesh78 wrote:
> Hi,
>
>
> I tried deploying camel-activemq example availabe in FUSE-IDE. I am getting
> the below error.Thanks in advance
>
> *Caused by: java.lang.IllegalArgumentExcep
Well, it doesn't have to be an xpath expression.
It can be any of the supported expression language options:
http://camel.apache.org/expression.html
For example, when processing files off the file system, the filename would
be added to the exchange message as a header, and you can do your
content-
Guru,
A CamelContext is a java object which is not persisted or replicated
between different JVM. So this is not possible to achieve what you would
like to do. The question here is not the CamelContext or RouteBuilder
object but what you transport (= files). They must be persisted (using
ActiveMQ,
I ran into a similar problem. My use case is slightly different and I am
using Camel 2.11.1 and JDK 1.7. But the result is that Camel cannot delete
the file from the input folder and keeps processing it indefinitely.
I have two routes. The first route reads in XML files from a directory then
pu
Hi everyone,
On our ftp server we have a home directory for every customer where they can
put their files, it look something like this:
ftp-root
-- 001
-- 20130905.xml
-- feedback
-- feedback_20130903.xml
-- feedback_20130904.xml
-- 002
-- 20130905.xml
I am using camel 2.10.3 version
On Sep 5, 2013 10:22 PM, "Prabu" wrote:
> Pls help me...
>
> *Thanks*
> Prabu.N
>
>
> On Thu, Sep 5, 2013 at 6:41 PM, Prabu wrote:
>
>> Hi Ceposta,
>>
>> After enable debug i can see following log details.
>>
>> 2013-09-05 08:02:41,023 | DEBUG |
>> Endpoint[active
OK, thanks for your answer. How would you code this using spring xml?
Luis
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-message-router-tp5738769p5738789.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks for the reply. This is what the code ultimately looked like:
public class CamelHTTP {
public static void main(String args[]) throws Exception {
// create CamelContext
final CamelContext context = new DefaultCamelContext();
// add o
Some of the messages where handled by wrong service and they are all queued
in FailedErrorMessages directory. Application failed to process them. So it
will end up in ordering, and lost message. Looking at our various
exception it is quite easy for us to understand that they are caused by
concurre
You can use the in:header() XPath function provided by Camel to access an
IN message header.
For example:
contains(in:header('CamelFileName'), 'foo')
Or combine it with any other XPath function like starts-with, matches, etc.
The Camel XPath documentation page describes this function and others
How should we do this?
Please start here: http://camel.apache.org/support.html
Best,
Christian
Am 05.09.2013 15:27 schrieb "vrrajesh78" :
> HI,
>
> help me in resolving this error
>
> * java.lang.IllegalArgumentException: Could not load property editor:
> org.apache.activemq.util.BooleanEditor*
>
Is it possible that one of your beans is blocking for some reason, and all
of your 6 concurrent consumers become occupied waiting at the blocking
point?
When you restart your context, do you see any log statements about inflight
exchanges?
Regards,
Raúl.
On 5 Sep 2013 13:59, "Gaurav Sehgal" wrot
Hi All:
I found the CxfProducer object will be cached to reuse in Camel, however
this may can's suatable for any time, to make things simple, assume we have
below route:
class CustomDefaultCxfBinding extends DefaultCxfBinding {
private String a;
public CustomDefaultCxfBinding(String a) {
this.a =
Hi All:
I'd like to know how can I set the properties of CxfEndpoint dynamicly, for
example use simple expression to calculate and set the property value
during running.
Thanks alot
Thanks
GangLiu
Mail: clevers...@gmail.com
Hi,
I am new to Camel-HL7 component. It seems like you implemented this
component. can you please share me the sample code base/ your project code?
In my case , I need to convert the java object to HL7 format and then send
those messages to an endpoint.
Thanks,,,
hi..
could you guide me in solving the class path issue.
thanks,
mahesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Active-Mq-example-deployment-error-tp5738760p5738792.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I'm new in camel.
threadPool:
camel-route:
when the "update" method runs in 2s,the eight threads can run every 2s.
but when anyone of the threads run over 2s,others will wait until the thread
is over.
How can i make the threads work every 2s whet
Can I secure my inbound cxf:enpoint with
*http://example.com/}HelloWorldServicePort.http-conduit";
xmlns:sec="http://cxf.apache.org/configuration/security";
xmlns="http://cxf.apache.org/transports/http/configuration";>
myuser
mypasswd
Basic
*
My Endpoint looks lik
Hi
A good idea could be too see the unit tests of camel-hl7 which can be
of inspiration.
On Thu, Sep 5, 2013 at 10:00 PM, Dayakar Reddy
wrote:
> Hi,
>
> I am new to Camel-HL7 component. It seems like you implemented this
> component. can you please share me the sample code base/ your project cod
Hi
What do you mean can you explain in more details?
On Fri, Sep 6, 2013 at 6:18 AM, liugang594 Liu wrote:
> Hi All:
>
> I'd like to know how can I set the properties of CxfEndpoint dynamicly, for
> example use simple expression to calculate and set the property value
> during running.
>
> Than
Hi
The url is the same in the endpoint(url) so you get the same instance.
And then afterwards you set the custom cxf binding. You need 2
different urls, so its 2 different endpoint instances. Or you can
crate the cxf endpoints using java code, with the new constructor.
On Fri, Sep 6, 2013 at 5:36
Hi
Camel 2.12 should allow to do this. So just try to upgrade to use it
when its out.
As the timer supports the async routing engine from 2.12 onwards
http://camel.apache.org/asynchronous-routing-engine.html
For earlier releases you can send to a seda queue first
from timer
to seda
from seda
57 matches
Mail list logo