Hi,
Is there any documentation on how to configure the camel-hazelcast component to
act as hazelcast client?
Best,
Borut
Sent from my iPad
On 13. jul. 2013, at 13:21, Claus Ibsen wrote:
> I assume the idea is that you configure an existing
> com.hazelcast.core.HazelcastInstance on the Hazelc
Hello,
This seems like most appropriate place to post a question like this
involving many open source parts.
I am looking for the best solution on creating a manageable runtime
environment which includes running business logic written with camel and
deployed to Karaf (JBoss Buse 6.0).
Some camel
Hi,
so the RSS component is not able to receive a list of URLs and process them
one by one? IMHO this does not seem like a good design for a component.
-borut
2013/8/14 Bilgin Ibryam
> You will have to use http component and manually process the feed or
> dynamically create routes using the u
Hello,
can't find an example or documentation on how to configure/use AHC
component or any other which can put/delete files on (secure) webdav
server.
Currently we are using custom logic using Sardine API as Processor, but I
would like to have less code for greater effect. I know there was a deba
Hello,
I am on that path and I can tell you - you have many many hours of reading
ahead. There are three books on OSGi, one of them deals with enterprise
concepts (http://www.manning.com/cummins/) and I would recommend it to you
as I can imagine you will be developing Camel routes which will use J
> And/or fix the route to use http4 if thats the one you want.
>
>
> On Tue, Apr 24, 2012 at 4:13 PM, Borut Bolčina
> wrote:
> > Hello,
> >
> > Despite my best efforts I can not get my Camel route to run in Karaf.
> >
> > Log entry where route fails to
you only have a start cron
> expression.
> You would need a stop as well. But as long the rout is running, the
> from http will run as fast as possible. And therefore you see so many
> calls in the logs.
>
>
>
>
>
> On Tue, Apr 24, 2012 at 2:45 PM, Borut Bolčina
Hello,
Despite my best efforts I can not get my Camel route to run in Karaf.
Log entry where route fails to start:
2012-04-24 15:51:43,721 | INFO | rint Extender: 3 | BlueprintContainerImpl
| container.BlueprintContainerImpl 321 | 10 -
org.apache.aries.blueprint - 0.3.1 |
Bundle weat
Hello,
while this:
public void configure() {
from("quartz://myTimer?trigger.repeatInterval=2000&trigger.repeatCount=-1")
.to("http://my.company.com/test.txt";)
.log("${body}");
}
nicely prints out the content of the test.txt to the console every 2
seconds;
[2012/04/24 14:35:12.884] INFO [r
2.3.7
true
${project.artifactId}
route-weather-current-osgi
my.company.route.weather
*
*
Current Weather OSGi
${project.version}
Is this correct?
-borut
Dne 13. april 2012 13:37 je Borut Bolčina napisal/-a:
> I tried
>
> karaf@root> osgi:install mvn:org.apache.camel/cam
of import package so you might get the
> package this way.
>
> Chrisitan
>
>
> Am 13.04.2012 12:33, schrieb Borut Bolčina:
>
> OK, I installed the latest Karaf (2.2.6) and Camel features with
>>
>> features:chooseurl camel 2.9.1
>>
>>
>> features:i
It is version conflict , which camel core your bundle has dependency on ,
> is it 2.9 or 3.0 ?
>
> You can check running the following command ,
>
> Packages imports | grep osgi , check its syntax please .
>
> Thanks,
> Omar atia
> Sent via BlackBerry®
>
> -----Orig
OK, I installed the latest Karaf (2.2.6) and Camel features with
features:chooseurl camel 2.9.1
features:install camel-core
Then I installed my bundle into the local maven repo and then to Karaf with
karaf@root> osgi:install
mvn:com.mycompany/route-weather-current/1.0-SNAPSHOT
Bundle ID: 67
Dne 11. april 2012 09:54 je Claus Ibsen napisal/-a:
> On Wed, Apr 11, 2012 at 9:43 AM, Borut Bolčina
> wrote:
> > Thanks for the answers and guidelines Claus.
> >
> > I looked into the ServiceMix, but the project seems so abandoned, I
> decided
> > not to use i
g
modified config.properties in Karaf etc folder?
I hope I will find the time today to try running some routes in the Karaf.
Thanks,
borut
Dne 11. april 2012 09:05 je Claus Ibsen napisal/-a:
> On Wed, Apr 11, 2012 at 8:32 AM, Borut Bolčina
> wrote:
> > So instead of
> >
> >
&g
amelContext as the CamelContext instance.
> That one knows about the OSGi runtime. Otherwise you may run in trouble.
>
>
> On Tue, Apr 10, 2012 at 3:02 PM, Borut Bolčina
> wrote:
> > Hello,
> >
> > I was wondering if I am going down the right path. My goal is to deploy
Hello,
I was wondering if I am going down the right path. My goal is to deploy a
simple Camel route to an OSGI container, but without the Spring "startup
code".
The route:
public class WeatherCurrentRouteBuilder extends RouteBuilder {
public void configure() {
...
}
}
and to start and stop the
gt; What version of Camel are you using?
> >
> > It looks like your bean does not get the @Produce injected from the
> > route when you do
> > .bean(LongRunningBean.class, "startLongOperation")
> >
> >
> >
> > On Fri, Apr 6, 2012 at 3:04 PM, B
Hello,
I am trying to marry crawler4j with Camel and having some trouble sending
messages out of my bean. The producer is not instantiated - I get NPE.
My goal is to send each crawled page (html in string variable) to the next
stage in the route. If I simplify the crawler with a demo bean:
publi
ERT or SQL UPDATE.
>
>
>
> On Thu, Mar 29, 2012 at 2:09 PM, Borut Bolčina
> wrote:
> > Hello,
> >
> > I do not dare to hope there is a one liner in Java DSL using JPA
> component
> > to update records such as:
> >
> > ...
> >
> .to(&quo
Hello,
I do not dare to hope there is a one liner in Java DSL using JPA component
to update records such as:
...
.to("jpa:my.model.entities.weather.WeatherCurrent?persistenceUnit=weather"&unique=someDbColumn)
I am successfully ADDING the records, but I want to update them. Let's say
there was
;);
Camel feels more and more concise, great.
-borut
Dne 28. marec 2012 13:17 je Claus Ibsen napisal/-a:
> See the simple language.
> http://camel.apache.org/simple
>
> Or try some of the scripting languages like groovy. But simple ought
> to do what you want to do.
>
>
>
etException will return null, and
> therefore you cause a 2nd exception to occur.
>
> The caused exception is stored as a property on the exchange.
> Exception cause = exchange.getProperty(Exchange.EXCEPTION_CAUGHT,
> Exception.class);
>
>
>
> On Wed, Mar 28, 2012 at 8:4
> Exception cause = exchange.getProperty(Exchange.EXCEPTION_CAUGHT,
> Exception.class);
>
>
>
> On Wed, Mar 28, 2012 at 8:44 AM, Borut Bolčina
> wrote:
> > Hello,
> >
> > I am using bean-validator component to validate the content of some
> fields:
>
Hello,
I am using bean-validator component to validate the content of some fields:
@Override
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
DataFormat jaxbDataFormat = new
JaxbDataFormat("com.mycomp
Header?
-borut
Dne 26. marec 2012 14:04 je Borut Bolčina napisal/-a:
> It felt like a solution, but still fails. The file is moved one level
> lower to src/test/resources/.camel folder just like before.
>
> @Test
> public void testNumberOfWeatherStations() throws Exception {
s on the file endpoint
>
> FileEndpoint endpoint = ...
> endpoint.setNoop(true);
>
>
> On Mon, Mar 26, 2012 at 1:16 PM, Borut Bolčina
> wrote:
> > Hello again,
> >
> > The File component can be configured with some options, I am interested
> in
> > &quo
Hello again,
The File component can be configured with some options, I am interested in
"noop=true". What can be done by:
from("file:src/test/resources?fileName=myFile.xml&noop=true")
is what I want to do it with code:
String fileName = "src/test/resources/myFile.xml";
Endpoint endpoint = new F
testNumberOfWeatherStations
java.lang.AssertionError: mock://meteo1 Received message count. Expected:
<5> but was: <9>
Thanks Ibsen,
Borut
>
> On Mon, Mar 26, 2012 at 10:59 AM, Borut Bolčina
> wrote:
> > Hello,
> >
> > I am trying to test the number of
Hello,
I am trying to test the number of messages and there is something I do not
understand. The test ends successfully before the messages arrive at the
mock endpoint. here is the test class:
public class WeatherCurrentTest extends CamelTestSupport {
@Override
protected RouteBuilder createRou
OK, nailed the bastard!
The option idempotent=true (together with noop=true) on the File component
was causing the route to read the file content over an over.
-borut
Dne 16. marec 2012 08:10 je Borut Bolčina napisal/-a:
> Hello,
>
> the route bellow splits the XML in smaller XML
Hello,
the route bellow splits the XML in smaller XML fragments which are then
umarshaled into an equal number of objects as there are fragments. The
number of fragments and therefore expected objects is 9. This XPath run on
the source XML count(//metData/domain_longTitle) proves the number.
But
Thanks Babak,
as it turned out, the solution with annotating the WeatherCurrent POJO did
the job. The solution is so short! I posted an answer to my own question at
StackOverflow.
I do have one more problem with the test case, but will post it in another
thread.
-borut
Dne 14. marec 2012 16:24
Hello list,
I am starting to use the Camel, but due to lack of experience I have some
questions which are originally posted here:
http://stackoverflow.com/questions/9702158/how-to-create-a-camel-route-which-takes-xml-and-bind-some-data-to-jpa-annotated
Boils down to how to split the XML, bind s
34 matches
Mail list logo