Re: bridging binary files over http

2010-04-13 Thread rdomingo
ff ? willem.jiang wrote: > > Hi Raymond, > > Thank you for sharing this with the camel community. > Can you submit a patch against the latest trunk into the JIRA with a > test case? > I'd be happy to apply your patch into the trunk :) > > > Willem > > r

Re: bridging binary files over http

2010-04-12 Thread rdomingo
deleted = tempFile.delete(); if (!deleted) { LOG.warn("Cannot delete temporary cache file: " + tempFile); } else if (LOG.isTraceEnabled()) { LOG.trace("Deleted temporary cache file: " + tempFile); } } rdomingo wrote: > > Damn, It seems I'm running in to a Java Bug :( &g

Re: bridging binary files over http

2010-04-12 Thread rdomingo
Damn, It seems I'm running in to a Java Bug :( http://256.com/gray/docs/misc/java_bad_file_descriptor_close_bug.shtml rdomingo wrote: > > Hello, > > 1 - I have a http service setup (using camel) > > http://0.0.0.0:

bridging binary files over http

2010-04-08 Thread rdomingo
Hello, 1 - I have a http service setup (using camel) http://0.0.0.0:9101/clipboard/download"; /> 2 - When I download a (txt or binary) file directly from this http service, download is ok. 3 - When I add a http bridge between the service and downloader

Re: Problem with CXF Failover -> Already connected error

2010-03-17 Thread rdomingo
, so please feel free to log a JIRA[1] for it. > > [1]http://issues.apache.org/activemq/browse/CAMEL > > Willem > > rdomingo wrote: >> I don't understand...do you thinkt it might go wrong on tcp level ? >> >> After debugging I found out it tries to

Re: Is camel cxf failover is working ? It doesn't seem to work at all. Please confirm.

2010-03-17 Thread rdomingo
have already replied and helped you on this matter. > > > On Tue, Mar 16, 2010 at 9:32 PM, rdomingo wrote: >> >> It look like there is a huge bug in camel cxf failover, it doesn't seem >> to >> work at all :( >> >> Is there anybody who got it run

Is camel cxf failover is working ? It doesn't seem to work at all. Please confirm.

2010-03-16 Thread rdomingo
It look like there is a huge bug in camel cxf failover, it doesn't seem to work at all :( Is there anybody who got it running ?? I just retested cxf failover using camel versions 2.0.0, 2.1.0 and even 1.6.2 (jdk1.5 and jdk6), but all resulting in same error: ... org.apache.cxf.interceptor.Fault

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread rdomingo
ote: > > I did some search on the CXF user list, but didn't find some useful > information. Can you set up a tcpdump to catch the message to see what > happened. > > Willem > > rdomingo wrote: >> Hi Willem, >> >> Thank you for responding. >>

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread rdomingo
Can you provide any other hints ? willem.jiang wrote: > > Can you try to run the back end service in other box or in different port? > It looks like some underlay HTTP communication error happened when you > undeployed the first service. > > Willem > > rdomingo wrot

Problem with CXF Failover -> Already connected error

2010-03-15 Thread rdomingo
I need to implement failover for my webservices, but I can't get it working. I'm struggeling with this for some time and it really is getting a problem. I keep getting error below when it needs to failover: ... org.apache.cxf.interceptor.Fault: Already connected at org.apache.camel.compone

Re: "Already Connected" message when try to route to cxf web service

2010-03-15 Thread rdomingo
any news on topic ?? I believe I get same error in failover situation, my configuration (I tested both my endpoints are working by commenting them out one by one): http://0.0.0.0:8081/fooServer/echo?wsdlURL=http://localhost:8080/fooServer1-0.0.1a-SNAPSHOT/echo?wsdl&serviceName={http://www.telec

http vs Redelivery

2009-12-30 Thread rdomingo
Hello, I'm trying to find out how I can trigger redelivery of http message. So when a message is available in jms queue it should be send over http to my http service. But when it is not running currently an error response is returned. But I would like camel to retry my http service for some time

Newbie: need little help http->http bridge->jms->http bridge->http

2009-12-30 Thread rdomingo
Hello, I have a multibus scenario (POC) to learn about a number of features related to using camel. In the current scenario I like a consumer to upload a file (over http) to my first bus (my local camel instance), this bus proxies the request to a second bus (my global routing bus). This second

Re: Newbie: Argument and File streaming

2009-12-22 Thread rdomingo
t; On Mon, Dec 21, 2009 at 3:33 PM, rdomingo wrote: >> >> Hello, >> >> I'm new to camel and trying to figure out how to: >> - stream a file from my client to some service (not really a problem) >> - also send some parameters when sending the file, for exa

Newbie: Argument and File streaming

2009-12-21 Thread rdomingo
Hello, I'm new to camel and trying to figure out how to: - stream a file from my client to some service (not really a problem) - also send some parameters when sending the file, for example it's filename, author,... (any hints ?) - when the file is received an id should be returned to the client