camel-example-cafe does not compile

2014-01-13 Thread doug5791
I am very new to using Apache Camel and Maven, while browsing the examples section of the Camel webpage I found the Café example and decided to open it up and trace through to learn a few things. When I import the Maven project into the IntelliJ IDE and try to "compile" I receive error messages bec

Re: camel-example-cafe does not compile

2014-01-13 Thread doug5791
To the best of my knowledge I am not behind any proxy, I am just using my home network if that helps. I created a new Maven project and followed the instructions for a route tutorial from the greenpaper found here: GreenPaper

Re: camel-example-cafe does not compile

2014-01-13 Thread doug5791
When I follow the readme.txt and try to compile the project this is the error I receive: -- View this message in context: http://camel.465427.n5.nabble.com/camel-example-cafe-does-not-compile-tp5745894p5745912.html Sent from

RE: camel-example-cafe does not compile

2014-01-14 Thread doug5791
Subject: Re: camel-example-cafe does not compile >From where did you download the source code? On Mon, Jan 13, 2014 at 11:44 PM, doug5791 <[hidden email]> wrote: > When I follow the readme.txt and try to compile the project this is the error > I receive: > > <http://camel.4

Re: camel-example-cafe does not compile

2014-01-14 Thread doug5791
downloading that and the examples is also located in the examples directory. On Tue, Jan 14, 2014 at 4:56 PM, doug5791 <[hidden email]> wrote: > The source code is part of the apache-camel-2.12.2 download (from > camel.apache.org) located in the /exampl

Failed to Build Camel-web using "mvn clean install"

2014-02-18 Thread doug5791
I have tried the command "set MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m" " but when I try to build again - starting with Web - using "mvn -rf :camel-web I receive the same failure message. How might I go about fixing this issue? Thanks in advance, Doug

Re: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
I am using Windows 7 64-bit with java sdk 7 u45. How do I go about cleaning m2? "Claus Ibsen-2 [via Camel]" wrote: What OS and JDK are you using? And maybe try to clean your local m2 repository to force redownload of JARs. On Tue, Feb 18, 2014 at 10:03 PM, doug5791 <[hidden

RE: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
-web using "mvn clean install" On Wed, Feb 19, 2014 at 5:01 PM, doug5791 <[hidden email]> wrote: > I am using Windows 7 64-bit with java sdk 7 u45. > > How do I go about cleaning m2? Its in your MAVEN_HOME directory. There is a repository directly that has a local copy of al

Re: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
This time the build of Camel has failed much sooner than previously; it failed during "Core". -- View this message in context: http://camel.465427.n5.nabble.com/Failed-to-Build-Camel-web-using-mvn-clean-install-tp5747509

RE: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
using "mvn clean install" Hi You can do a quickbuild, see this page how to http://camel.apache.org/building.html then you do not run any unit tests, as otherwise that takes many many hours, and you may fail something. On Wed, Feb 19, 2014 at 6:12 PM, doug5791 <[hidden email]> wro

Re: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
I ran using the command "mvn install -Pfastinstall" and this is my new reason for failure. -- View this message in context: http://camel.465427.n5.nabble.com/Failed-to-Build-Camel-web-using-mvn-clean-install-tp5747509p5747588.

Re: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
I am still failing to compile Camel, mainly because I am facing a slew of "Connection refused" errors. The one I am stuck on right now is "http://maven.restlet.org"; the site appears to be down... Is it common that these Reposi

Re: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
I use "set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m" followed by "mvn install -Pfastinstall". for some reason the compilation is getting hung up on Ruby...Any idea why? I tried stopping the process and re-running it...Same thing happened. It's been stuck for x > 30mins.

Re: Failed to Build Camel-web using "mvn clean install"

2014-02-19 Thread doug5791
at 9:36 PM, doug5791 <[hidden email]> wrote: > I am still failing to compile Camel, mainly because I am facing a slew of > "Connection refused" errors. The one I am stuck on right now is > "http://maven.restlet.org"; the site appears to be down... > &g

How to test Mina Server?

2014-02-28 Thread doug5791
I have mina set up to listen to a particular port like this: from("mina:tcp://0.0.0.0:8999?textline=true&sync=true").to(xxx); If I use an application like "SocketTester" I am able to connect to the instance of mina and send it messages in the form of strings and see a response of what was sent.

Camel-Hazelcast: How to setup multiple nodes?

2014-03-16 Thread doug5791
I am working with Apache Camel and the Hazelcast component and I would like to know if there is a way to implement this component in a route that utilized more than one node in the data-grid. An example of the route I am using now that generates ONE node is as follows: `from(direct:foo).toF("hazel

Re: Camel-Hazelcast: How to setup multiple nodes?

2014-03-17 Thread doug5791
ou just want to have multiple hazelcast-nodes, but only one instance of your route, I guess you would have to setup the hazelcast grid "standalone" and send messages from your route to it. Stephan On Sun, Mar 16, 2014 at 8:59 AM, doug5791 <[hidden email]> wrote: > I am working w

Re: Camel-Hazelcast: How to setup multiple nodes?

2014-03-17 Thread doug5791
I started up a cluster of nodes running from localhost and then started my camel-hazelcast route which appeared to join into the existing cluster with no problem. After populating a List in Hazelcast I wrote a quick Hazelcast client to check that the data was stored properly. It was. Thanks for yo

Camel-Hazelcast: Adding values into a Map

2014-03-17 Thread doug5791
I am dealing with data in a route where the body of the exchange is a single string. I have been able to add this string from the body of the exchange to the Hazelcast grid, however, I would like to add the string to a Map instead of a list. The documentation I found here

Camel: How to stop a route temporarily?

2014-03-25 Thread doug5791
I am trying to see if I can increase the performance of my route by adding a cache prior to a database write. I will describe the flow of the route I would like below: if( cacheSize != MAXCACHESIZE) { //Add the Exchange to the data structure but* do not* continue with the write //cacheSi

Re: Camel: How to stop a route temporarily?

2014-03-25 Thread doug5791
I guess the biggest thing I need to accomplish is telling all the exchanges that are stopped to go to the next endpoint. Is there something I can append like a property that says: "exchange.set property(Exchange.goToEndpoint, "database")"? "doug5791 [via Camel]"

Re: Camel: How to stop a route temporarily?

2014-03-25 Thread doug5791
I am currently trying to use the "Exchange.ROUTE_STOP" property -I do not think that using a CountDownLatch will work out-, however I do not get the desired effect. Using the code below, only the last Exchange goes on to the database: //exAr is a List of Exchanges .process(new Processor()

RE: Camel: How to stop a route temporarily?

2014-03-26 Thread doug5791
dynamic routing behavior http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html http://camel.apache.org/recipient-list.html http://camel.apache.org/routing-slip.html http://camel.apache.org/dynamic-router.html On Tue, Mar 25, 2014 at 9:45 PM, doug5791 <[hidden email]> wrote: > I

Camel-Hazelcast: Configuring Consumer

2014-03-31 Thread doug5791
I have a route that fills a Hazelcast IList "hlist" already running. The next thing I would like to do is set up an additional route (seperate class) that uses the Camel Hazelcast Consumer; listening for additions to the Hazelcast instance already running and then continue to other endpoints. I ha

Re: Camel-Hazelcast: Configuring Consumer

2014-03-31 Thread doug5791
These are the Hazelcast entries in my classpath, do you think that having the Java Hazelcast jars (top two highlighted) included is messing with it? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Hazelca

Re: Camel-Hazelcast: Configuring Consumer

2014-04-02 Thread doug5791
at 11:30:48 AM, doug5791 ([hidden email]) wrote: > > > These are the Hazelcast entries in my classpath, do you think that having > the Java Hazelcast jars (top two highlighted) included is messing with it? > > > > -- > View this message in context: > http://camel.465427.n5.na