hi Everyone,

I want to call a method with parameters in service activator .Consider the below code

Code:
<bean id="zipToMsrTranslator" class="in.translator.ZipTranslator" >
<property name="importFilePath"        value="//import/Zip"></property>
<property name="importFileUnzipPath"   value="//import/Unzip"></property>
<property name="exportFilesPath"       value="//Export/FilesToExport"></property>
<property name="exportFileZipPath"     value="//Export/ZippedFile"></property>
</bean>

<int:service-activator input-channel="replyChannel"  expression="@zipToMsrTranslator.translateInput(zipToMsrTranslator.importFilePath,zipToMsrTranslator.importFileUnzipPath)"></int:service-activator>
I want to do somethis as above .Can anyone help (The above code throws an exception Field or property 'zipToMsrTranslator' cannot be found on object of type 'org.springframework.integration.message.GenericMe ssage')