Hi,

Based on what I see in the component code (not an expert in Javaspaces, I'm
afraid :)), it looks like the producer & consumer do not require a port,
only the host.

So the URI needs to be

... 
.to("javaspace:jini://localhost?spaceName=mySpace"); 
...

Hope this helps...

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/JavaSpaces-throws-java-net-ConnectException-Connection-refused-exception-tp3388661p3388769.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to