Thanks Freeman-2,

The conflict is solved and I am able to move the file from activemq input
queue to cache and then  
 retrieve
 the file from the cache to output queue. 

But when I am trying to pass the file from xslt to the cache, I am not able
to retrieve it.

This is the code:

<route>
                <from
uri="xslt:file:D:\ESB\apache-servicemix-4.4.0-fuse-00-27\design.xsl"/>


                      <setHeader
headerName="CACHE_OPERATION"><constant>ADD</constant></setHeader>
                      <setHeader
headerName="CACHE_KEY"><constant>myKey</constant></setHeader>

                <to uri="cache://myCache"/>
        </route>
      
        <route>
                <from uri="cache://myCache"/>   
                      <setHeader
headerName="CACHE_OPERATION"><constant>GET</constant></setHeader>
                      <setHeader
headerName="CACHE_KEY"><constant>myKey</constant></setHeader>
                  <to uri="activemq:queue:outputQueue"/> 
          </route>

Please help.


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Getting-Exception-in-cache-feature-in-Fuse-tp4703678p4706992.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to