Hi,

In the following code i am working with the files in my local machine. If i
want to read or write from remote machine or from some other node in the
network. What should i do.

Eg: <to uri="activemq:queue:inputQueue"/> i want to write into the
inputqueue which is present with the ip 10.200.208.129

<?xml version="1.0" encoding="UTF-8"?>
<blueprint
     xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="
       http://www.osgi.org/xmlns/blueprint/v1.0.0
       http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd";>
     <camelContext xmlns="http://camel.apache.org/schema/blueprint";
trace="true">
             
          <route>   
             
                  <from uri="file://inputdir/"/>
                  <to uri="activemq:queue:inputQueue"/>
        </route>
           
            <route> 
                    <from uri="activemq:queue:inputQueue"/>
                    <to
uri="xslt:file:C:\ESB\Fuse_ESB_4.4\apache-servicemix-4.4.0-fuse-00-27\design.xsl"/>
                    <to uri="activemq:queue:outputQueue"/>
        </route>
         <route>
                 <from uri="activemq:queue:outputQueue"/>

  <to uri="file:outputdir?fileName=output.xml"/>   
        </route>

     
     </camelContext>
</blueprint> 


Help out

Cheers
Guru 

--
View this message in context: 
http://camel.465427.n5.nabble.com/Remote-Write-and-Read-tp4654906p4654906.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to