Hi Clause,
I looked at their json-lib code and based on what I read they need to have
the @ sign for the attributes and # for the text elements.
They need those annotations to be able to covert a json properly back to
xml. The @ and # signs are hard coded in their code.
Do you think I should
Hi All,
is there a clean way to dynamically add routes defined in DSL to a running
CamelContext instance. The reason I need to do this because in the
production I don't want to turn of the Camel instance but be able to a new
routes and remove routes that are not needed. I would like to use DSL to
Hi Charles ,
Thanks for such a quick response.
I am able to connect to Hive from camel. I can see the Hive table data in my
eclipse console.
But the problem is, that data i want in a file.
22:58:17.081 [Camel (camel-1) thread #1 - timer://foo] DEBUG
org.apache.camel.processor.Pipeline -
Hi
Ah great to know it was hardcoded. I would suggest to ask them to add
an option so you can turn that off. As there are use cases where you
only need a one way transformation.
They could also consider different strategies how to control this
mapping. So there is a default strategy that does as
If you use the XML DSL you can
http://camel.apache.org/loading-routes-from-xml-files.html
For java its just the java api and there is methods on camel context
to add/remove routes.
On Mon, Nov 17, 2014 at 9:16 PM, salemi sal...@avaya.com wrote:
Hi All,
is there a clean way to dynamically
Hi
From the stacktrace it looks like its the jdbc component that fails.
Try set the option resetAutoCommit=false
http://camel.apache.org/jdbc
On Tue, Nov 18, 2014 at 8:25 AM, smilevasu6 srinivas.thu...@gmail.com wrote:
Hi Charles ,
Thanks for such a quick response.
I am able to connect to
It looks CXF doesn’t follow the @PostConstruct instruction[1].
[1]https://docs.oracle.com/javaee/7/api/javax/annotation/PostConstruct.html
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter:
I want to send a comma separated string to simple web service (cxf based).
Without comma all works fine. Camel's type converters and magic take the
string and find the only method that takes a string in wsdl and generate the
xml (the wsdl has only one method at all). If i send a comma separated
Thank you so much Claus Ibsen, its working.
Now we can connect to hive using camel
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Hive-tp5759189p5759242.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks Willem,
I did try a search in Jira, when I followed the link you provided it's no
surprise I didn't find the issue since I was searching on all the wrong
terms! :-)
I had things like servlet query string rest dsl, none of which matched.
Remedial search school for me I guess ;-)
In terms
Hi I'm new to camel, so forgive me for asking (more?) dumb question(s). With
help from this forum I've created a Multicast route, that emails
recipient(s) on completion. just baby steps for now..the logic / complexity
will expand as my understanding increases.
In my real code (not the pseudo
Hi
Is the uri of the smtp endpoint correct? In the code you use ? to
separate parameters, but you should use which should be escaped in
xml, eg amp;
On Tue, Nov 18, 2014 at 11:47 AM, fidoedidoe gavin.fow...@sagepub.co.uk wrote:
Hi I'm new to camel, so forgive me for asking (more?) dumb
Hi Claus
Good spot - that's an honest typo in my pseudo, my apologies, I've corrected
the original post. My actual code escapes amp; as suggested.
--
View this message in context:
I think I've found the answered my own question. The additional metadata is
(exchange?) header information, which can be cleared from the body using
removeHeaders.
The final (pseudo) ends up looking like this:
--
View this message in context:
I’m afraid you have to wait for the release of Camel 2.14.1 which will be
released in next month.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 18,
You may need to put the String parameter into Object array to avoid the type
converter misfire.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 18,
Hi
I am trying to execute sample camel-example-spring-ws but is giving error as
below
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
36 in XML document from ServletContext resource
[/WEB-INF/spring-ws-servlet.xml
2: Attribute 'local' is not allowed to appear in
Hi all,
I'm going to post a question that has already been posted here
http://camel.465427.n5.nabble.com/Forward-mail-via-camel-td5715953.html
and here
http://camel.465427.n5.nabble.com/Missing-start-boundary-exception-on-camel-mail-2-10-2-td5724769.html
, without resolution. Since the
Thanks David, I'll read about it
Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (RD)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasq...@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
El
Which version of camel were you using?
Did you try the latest release one — Camel 2.14.0?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 18, 2014 at
Thanks this is working! List is working too, i use
Arrays.asList(one,parameter).
In meanwhile i tried to send the real payload object (used the generated
code), this is working on another CxfProducer in our project (no data mode
set!).
But in this case camel tries to convert the xml-object back
Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel
problem.
I am working on some data routes that will push data to HBase within
ServiceMix. My development environment depends on Apache Camel 2.13.2,
specifically the camel-hbase component version 2.13.2 depends on avro
Hi folks,
I am using direct-vm to link different camel contexts (environment is Karaf
2.3.3 and Camel 2.12.2).
Everything works fine until I update one of the routes acting as the
direct-vm cosumer. This leads to 'No consumers available ...' exceptions.
The problems seems to be the fact, that the
Hi
You can use the block option to allow some time to wait for the update
to be complete.
On Tue, Nov 18, 2014 at 3:36 PM, Thomas Weinschenk
thomas.weinsch...@infoserve.endress.com wrote:
Hi folks,
I am using direct-vm to link different camel contexts (environment is Karaf
2.3.3 and Camel
Hi Claus,
Thank you for your answer. If I add a block it works. But I need the
refresh/restart the context in the correct order. In my example route1,
route2 and then route3.
This works if I do it manually but I have no glue how this could work
automatically in production. I deploy and update
Hi,
I am using CXFRS bean in combination with Camel and I would like to set a
custom HTTP response from within the Camel route, but without making my own
CXF Response object.
I have a route like:
from(cxfrs:bean:restService?binding=#cxfrsBinding)
You may be able to work around this (which may hide a real underlying
problem!) with -Dmail.mime.multipart.allowempty=true
On 18 November 2014 12:21, A.Light angelo.leg...@axiossystems.com wrote:
Hi all,
I'm going to post a question that has already been posted here
Hi
The deploy folder is not as good to use. So if you want to refresh in
specific order, then copy the files in the given order, but make sure
to have delay between to give time to pickup the files one by one.
I am not sure if the felix fileinstall sorts the files first or
something when it
Hi Mark,
did you try servicemix 5.14 to check if with camel 2.13.3
the problem is resolved ?
Regards
--Filippo
2014-11-18 15:09 GMT+01:00 Mark Webb elihusma...@gmail.com:
Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel
problem.
I am working on some data routes that
Hi Mark
There was a problem with camel-avro included in ServiceMix 5.1.2
(https://issues.apache.org/jira/browse/CAMEL-7655). The same problem
probably was for camel-hbase as it uses avro too. ServiceMix 5.1.4
includes the Camel version which fixes this problem. You should use the
new version.
I'm using Camel 2.14.0, with Karaf 3.0.1, and in the blueprint I have a couple
of property 'bags'.
One is the usual configuration admin property placeholder, the other is a
custom property bag, which gets it's values from runtime scanning.
How can I use both property sets in the same camel
i want to pass environment variables (O/S environment variables) to camel
routes. something like,
route id=route1 prop:autoStartup={{env.shoudIStart}} /
similar to how the values are set for configuring properties location:
location=file:${env:APP_HOME}/etc/foo.properties
but, since that
Urgh, I'm stupid.
propertyPlaceholder location=bag1,bag2/
And I don't even have to explicitly state the configuration admin properties.
Cheers,
Gary
On 19 Nov 2014, at 11:29 am, Gary Kennedy g...@apnic.net wrote:
I'm using Camel 2.14.0, with Karaf 3.0.1, and in the blueprint I have a
Work around:
set jvm variable from environment variable
so, my config was
-DshoudIStart=${shoudIStart}
route id=route1 autoStartup={{shoudIStart}} /
--
View this message in context:
So I want to talk to a system that will send back several reply messages for a
given command message.
The general idea is to have a specific route that will process the reply
messages. (maybe behind an aggregator/resequencer, maybe not)
Since the plan is to (eventually) use this in a
Hi,
Again there is problem with camel hive.
As i am able to connect to hive and able fetch the data from hive table.
Now i want to load the data in another hive table.
when i try to do the same some times i am getting invalid path and some
times there is no errors but data is not moving to
Hi Claus,
thank you for your respond. I used the code but is shows as deprecated. Is
there a new way to do the loading of new routes from XML file?
Thanks,
Ali
-
Alireza Salemi
--
View this message in context:
Yes i have added latest version its working finw thanks lot
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-webservice-sample-Error-tp5759250p5759272.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I am creating an elasticsearch component.
I would like to aggregate individual requests in to a bulk request with 1000
entries. Since I do not know if elasticsearch is available, I would like for
the component to poll the aggregator at regular intervals, when the
elasticsearch is available.
great. thank you.
-
Alireza Salemi
--
View this message in context:
http://camel.465427.n5.nabble.com/dynamically-add-routes-defined-in-DSL-to-a-camel-routes-tp5759221p5759273.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I am using the weather endpoint
from uri=weather:sams-elix?consumer.delay=1000/
and it throws the following error. Any idea why?
Thanks,
Ali
11:06:11.423 [main] INFO org.apache.camel.main.MainSupport - [S:]Apache
Camel 2.14.0 stopping
org.apache.camel.TypeConversionException: Error
I will check and let you know as soon as posible.
On Tue, Nov 18, 2014 at 6:18 PM, Willem.Jiang [via Camel]
ml-node+s465427n575925...@n5.nabble.com wrote:
Which version of camel were you using?
Did you try the latest release one — Camel 2.14.0?
--
Willem Jiang
Red Hat, Inc.
Web:
Hi
See the info box on the top of this page
http://camel.apache.org/using-propertyplaceholder.html
On Wed, Nov 19, 2014 at 3:31 AM, harmohan.singh
harmohan.si...@news.com.au wrote:
i want to pass environment variables (O/S environment variables) to camel
routes. something like,
route
Hi
Yeah unfortunately those methods on camelcontext was marked as
deprecated to refer people to ModelCamelContext.
Frankly I think we should remove those as it confuses people much more
than the goal.
So to avoid the deprecation then type cast
ModelCamelContext mcc = (ModelCamelContext)
Hi
I guess its a connectivity issue with http://freegeoip.net/json/
If you try that url in a web browser its not online
On Tue, Nov 18, 2014 at 7:14 PM, salemi sal...@avaya.com wrote:
Hi,
I am using the weather endpoint
from uri=weather:sams-elix?consumer.delay=1000/
and it throws the
Hi,
Here is the use case.
I need to use Camel Routes to:
a)invoke a Spring bean method, at certain time intervals or specific
scheduled time
b)delegate the result of the bean invocation to a Camel processor to handle
the result
My approach as at now is:
- Use CronScheduledRoutePolicy for
To avoid the geo lookup, then use the location parameter
location=london,uk
Then there is no geo location lookup and the weather works.
This is the direct api its using
http://api.openweathermap.org/data/2.5/weather?q=london,uk
On Wed, Nov 19, 2014 at 7:23 AM, Claus Ibsen claus.ib...@gmail.com
Hi
I am creating a route to aggregate messages from jms queue. I want to
aggregate messages after some fix count let's say i want to aggregate after
100 messages. So is their any way to stop jms queue lookup route when i
aggregating my 100 messages in aggregator route. And after aggregation
48 matches
Mail list logo