camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From njchenyi <njche...@gmail.com>
Subject Re: How can I run the HTTP Async Example using netbeans
Date Thu, 07 Jan 2010 09:04:58 GMT

There is only client source code file in the example folder.
How can I run the server without maven?


Another question is: This example just demostrates the client sends requests
to the server. If I want to use camel to receive HTTP requests and transfer
them to other form. Like saving them in a file. Which example should I to
learn?



Claus Ibsen-2 wrote:
> 
> On Thu, Jan 7, 2010 at 9:39 AM, njchenyi <njchenyi@gmail.com> wrote:
>>
>> Because my company can not using internet. So when I exceute: mvn compile
>>  .
>> It can not download the file, and the compile progress can not be
>> success.
>>
> 
> You can do this at home where you got internet access.
> 
> Otherwise you need to find those needed .jars yourself and add to the
> classpath etc.
> 
>> Also I using netbeans for several years. So I just hope someone can give
>> me
>> some suggestions.
>>
> 
> I assume netbeans can open maven projects so just open the pom.xml file.
> 
> This is the list of needed .jars. You can use Camel 2.1 instead of
> 2.2-SNAPSHOT that I use currently.
> 
> [INFO] [dependency:list]
> [INFO]
> [INFO] The following files have been resolved:
> [INFO]    aopalliance:aopalliance:jar:1.0:compile
> [INFO]    com.sun.xml.bind:jaxb-impl:jar:2.1.12:compile
> [INFO]    commons-codec:commons-codec:jar:1.2:compile
> [INFO]    commons-httpclient:commons-httpclient:jar:3.1:compile
> [INFO]    commons-logging:commons-logging:jar:1.1.1:compile
> [INFO]    commons-logging:commons-logging-api:jar:1.1:compile
> [INFO]    javax.activation:activation:jar:1.1:compile
> [INFO]    javax.xml.bind:jaxb-api:jar:2.1:compile
> [INFO]    javax.xml.stream:stax-api:jar:1.0-2:compile
> [INFO]    junit:junit:jar:4.4:test
> [INFO]    log4j:log4j:jar:1.2.14:compile
> [INFO]    org.apache.camel:camel-core:jar:2.2-SNAPSHOT:compile
> [INFO]    org.apache.camel:camel-http:jar:2.2-SNAPSHOT:compile
> [INFO]    org.apache.camel:camel-jetty:jar:2.2-SNAPSHOT:compile
> [INFO]    org.apache.camel:camel-spring:jar:2.2-SNAPSHOT:compile
> [INFO]    org.apache.camel:camel-test:jar:2.2-SNAPSHOT:test
> [INFO]   
> org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.1.1:compile
> [INFO]    org.fusesource.commonman:commons-management:jar:1.0:compile
> [INFO]    org.mortbay.jetty:jetty:jar:6.1.19:compile
> [INFO]    org.mortbay.jetty:jetty-client:jar:6.1.19:compile
> [INFO]    org.mortbay.jetty:jetty-sslengine:jar:6.1.19:compile
> [INFO]    org.mortbay.jetty:jetty-util:jar:6.1.19:compile
> [INFO]    org.mortbay.jetty:jetty-util5:jar:6.1.19:compile
> [INFO]    org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
> [INFO]    org.springframework:spring-aop:jar:2.5.6:compile
> [INFO]    org.springframework:spring-beans:jar:2.5.6:compile
> [INFO]    org.springframework:spring-context:jar:2.5.6:compile
> [INFO]    org.springframework:spring-core:jar:2.5.6:compile
> [INFO]    org.springframework:spring-tx:jar:2.5.6:compile
> 
> 
> 
>> Thank you
>> --
>> View this message in context:
>> http://old.nabble.com/How-can-I-run-the-HTTP-Async-Example-using-netbeans-tp27056639p27056639.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://old.nabble.com/How-can-I-run-the-HTTP-Async-Example-using-netbeans-tp27056639p27056868.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message