[
https://issues.jboss.org/browse/JBIDE-8053?page=com.atlassian.jira.plugin...
]
Brian Fitzpatrick commented on JBIDE-8053:
------------------------------------------
Ok, so I was able to get the file action example to deploy and test successfully, but it
took a few extra steps.
1. Open the jboss-esb.xml file in the helloworld_file_action project (esbcontent/META-INF)
and modify the FSprovider1/helloFileChannel/Filter properties. Specifically you'll
need to change the directory, error directory, and post directory properties to point to
actual folders in your file system. For example, on a Windows machine I set my directories
to: "C:\temp\input", "C:\temp\error", and "C:\temp\output".
2. Deploy the helloworld_file_action project to your running server.
3. In helloworld_file_action_client, to run it in Eclipse you need to provide arguments to
the main method in
org.jboss.soa.esb.samples.quickstart.helloworldfileaction.test.CreateTestFile.java.
Add a line that populates the three arguments the method is looking for - input directory,
file name, and file contents. In the Windows case, I added the line:
args = new String[] { "C:\\temp\\input", "myfile.dat", "blah
blah blah" };
4. In the Project Explorer, right-click on CreateTestFile.java and select Run As->Java
Application.
5. Look at the server runtime console and check your directories to verify that the
service took your "myfile.dat" file and both moved and converted it to your
output directory as "myfile.dat.sentToEsb".
Incomplete instructions for ESB File Action example
---------------------------------------------------
Key: JBIDE-8053
URL:
https://issues.jboss.org/browse/JBIDE-8053
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb, project-examples
Affects Versions: 3.2.0.CR1
Reporter: Libor Zoubek
Assignee: Brian Fitzpatrick
Fix For: 3.2.1
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Description of ESB File Action example says :Before deploy the project, please change
some properties according to the readme.txt file.
None of readme's does not say anything. I don't know how to run this example. I
assume, that I should run client project to create a file *somewhere* and deployed esb
will process it.
What to pass to CreateTestFile's main method?
Could this be exaplained in readme files?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira