hi
a client post a http/multipart file to my camel server
how handle and store it on the server side with camel 2.3.0 ?
thx
bruno
--
View this message in context:
http://old.nabble.com/updload-server-multipart-tp28853525p28853525.html
Sent from the Camel - Users mailing list archive at Nabble.c
gt; Hi,
>
> Here is an unit test[1] that you can take a look.
>
> [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
>
> Willem
> Tapdur wrote:
>> hi
>> a client post a http/m
hi willem,
any chance that s work in 2.3.0 ?
i saw a comment in our source code that works nicely in 2.4.0
However the 2.4.0 is not available and i need this feature before wenesday.
Regards
Bruno
Tapdur wrote:
>
> hi willem
>
> thx , that s what i want to code
>
> and
s://svn.apache.org/repos/asf/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
>
> Willem
> Tapdur wrote:
>> hi
>> a client post a http/multipart file to my camel server
>> how handle and store it on the s
ave to apply the patch[1] to CAMEL-2.3.0 yourself,
> otherwise you have to wait for the CAMEL 2.4.0 release.
>
> [1] https://issues.apache.org/activemq/browse/CAMEL-2806
>
> Willem
>
> Tapdur wrote:
>> we have this class cast exception with 2.3.0
>>
>>
chema/spring";>
http://localhost:9000/poc.camel.enabler-0.0.1-SNAPSHOT/greeting"/>
the initial request is something like that (via SOAPUI)
post http://localhost:9000/poc.camel.enabler-0.0.1-SNAPSHOT/greeting
tap
hi the comunity
i have a question on the cxf improvment, why do we need to provide a bean
service to put an Exchange message to a camel route ? as we only need on
reception of http request to put a message with the headers and the body to
a camel route ?
is it a 2.2.0 feature ? if already in th
hi i am trying to use camel-restlet component in a jonas/tomcat j2ee.
i am getting mad with restlet depencies, does someone has alreday did that ?
i use dependecies org.restlet and org.restlet.ext.servlet (and declare the
RestletServlet in the web.xml)
how to integrate Restlet servlet to camel ?
's endpoint uri to use other port ?
>
> Willem
>
> Tapdur wrote:
>> hi i am trying to use camel-restlet component in a jonas/tomcat j2ee.
>> i am getting mad with restlet depencies, does someone has alreday did
>> that ?
>>
>> i use dependecies o
SNAPSHOT?restletMethod=post"/>
i change the port for restlet engine 9090 and no error at deploy time.
then i send the client request :
POST http://127.0.0.1:9090/poc.camel.enabler-0.0.1-SNAPSHOT
Tapdur
and it ... failed : 404
2010-02
sts[1] for the working examples.
>
> [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet
>
> Willem
>
> Tapdur wrote:
>> hi willem
>>
>> i get one step forward
>>
>
;-))
willem.jiang wrote:
>
> I think you need to update your client's url.
> according to the log, it looks like the HttpClient still use the path "/".
>
> Willem
>
> Tapdur wrote:
>> an other step it works ;-) ... and failed ;-(
>>
>
Hi
i doin't understand why it fail :
i have an xsd file
http://www.w3.org/2001/XMLSchema"; >
Hi community
in the process method, i want to get a body of type wich is generated by
xjc, how to pass to the getBody() the jaxb option ignoreJAXBElement="false"
(used in the unmarshall) ?
this line fail (within the correct object in the echange.in.value
attribute): GreetingRequestType user = (
7.0.0.1:9090/greeting,
org.restlet.http.headers=[Accept: xml/application, Content-Type: ,
User-Agent: Jakarta Commons-HttpClient/3.1, Host: 127.0.0.1:9090,
Content-Length: 57], CamelHttpMethod=POST,
org.restlet.startTime=1265897944026}, BodyType:String,
Body:
Tapdur
2010-02-11 15:19:04,369 : Logger.process
let the jaxb unmarshal the xml without wrapping with
> JAXBElement, just like this
>
> contextPath="poc.camel.echange" />
>
>
> Willem
>
> Tapdur wrote:
>> no exception just return null object
>>
>> 2010-02-11 15:19:04,197 : Logger.process
Hi
i am trying to get a specific application header in my http request over
restlet and it always null why ?
here is the client request :
GET http://127.0.0.1/greeting HTTP/1.0
Accept: xml/application
IGC-E164: 3370301169
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 127.0.0.1
here is my lo
Hi all,
i have newbie question relative to EIP pattern, i don't see wich one
correspond to my pb.
(to simplify) :
i send an order to "direct:order"
from (direct:order")
.to(direct:generateOrder-id)
.to(direct:printOrder);
from(direct:generateOrder-id")
.to(http:///...)
from(direct:pri
hi
i have a big issue with the http component
i want in the header HTTP_URI only the path without prefix by the host.
by defaut it won't be ok to(http://@ip/path -> HTTP_URI = GET
http://@IP/path
i try this
from(direct:notif)
.setHeader(Exchange.HTTP_URI,"/path")
.to(http://@ip);
it fails ,
Hi,
Is there a trick to specify one camel/restlet entrypoint for any http path
and use a eip to fork on specific path like this , without any list uri ?
from("restlet:http://"+IgcProperties.get("igc.greeting.host")+":"+IgcProperties.get("igc.greeting.port")+"?restletMethods=pos
quot;HTTP_PATH").isEqualTo("/greeting")).to("greetingService")
> .otherwise().throwException(new Exception());
>
> Willem
>
> Tapdur wrote:
>> Hi,
>>
>> Is there a trick to specify one camel/restlet entrypoint for any http
>> path
&
uot;jetty:http://"+IgcProperties.get("igc.greeting.host")+":"+IgcProperties.get("igc.greeting.port"))
> .choice()
> .when(header("HTTP_PATH").isEqualTo("/greeting")).to("greetingService")
> .otherwise().throwException(new Excepti
hi the community
i want to use camel for routing cxf webservices but i am facing to some
problems i don t understand
here is my xml
http://p-socle-as1:9008/wsp/services/wsprovider-1.0";
serviceClass="com.wsp.service.WsProvider" />
http://www.orange.com/wsp/Interfaces/WsPRovide
hi all,
i desesperate to run a "simple" use case wit camel.
http://localhost:9008/wservice/services/wsservice-1.0";
serviceClass="WsServiceImpl" />
http://wservice/v1";
xmlns:data="http://wservice/v1/root";>
http://camel.apache.org/
thx Claus i will try but it found a wotrh turn around like
ALL works fine except i receive an empty body, how to return the marshaled
response to the cxf:cxfEnpoint message ? always in a dsl way like
? but i don t know where to use it.
any idea ?
thx
bruno
--
View this message in c
hi all
i am facing to a simple need but i can't find any response :
i have to return a value to my cxfEndpoint without coding any Processor (as
i want to be full DSL EIP compliant), is there a trick or a maner to code
the line exchange.getOut().setBody(responsePayload); seen in every processor
in
hi all
when i use a route with cxfEndpoint like this it works fine
the to response is well returned in the grom response.
however, if i want to insert a mapper before and/or after the to uri i lost
the body, why ???
may i use transform ? to return a com.a.response to
It is dozer mapping
--
View this message in context:
http://camel.465427.n5.nabble.com/stupid-pipeline-question-tp5744415p5744425.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
i use the camel-kafka component and when i send a message to a topic it
raise an error :No partition key set.
t is due to the new api of the component. on the wiki page there is a sample
for the consumer xml dsl but
none for the provider,
any idea ?
thx
Best Re
Hi the community,
i have a route wich work well based on activeMQ from http .. to
direct:provider to activemq:consumer and a consumer wich is listen on from
activemq:consumer and reply a consumer msg.
i then migrate to Kafka. The consumer receive the topic message, tranform it
but the provider ne
30 matches
Mail list logo