Hello,
I have written a java processor which I want to invoke from pipeline. I have kept compiled java class under the WEB-IF classes directory. Created an entry in custom-processors.xml and used the processor name in the pipeline.
However I am not sure how should i declare the URL in the
processors.xml . I am unable to find this file.Madhuri
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
On Jul 23, 2009, at 9:14 AM, Madhuri Deodhar wrote:
Hi Madhuri, You only need to declare the processor in custom-processors.xml. You can keep your custom processor in the oxf namespace by not utilizing the optional second parameter when you declare it, e.g. public MSeedProcessor() { addInputInfo(new ProcessorInputOutputInfo(INPUT_CONFIG)); //, MSEED_PROCESSOR_CONFIG_NAMESPACE_URI)); addOutputInfo(new ProcessorInputOutputInfo(OUTPUT_DATA)); } then you don't have to declare your namespace in custom-processors: <processors xmlns:oxf="http://www.orbeon.com/oxf/processors"> <processor name="oxf:mseed-processor"> <class name="org.orbeon.oxf.processor.mseed.MSeedProcessor"/> </processor> </processors> Otherwise, I think the doc covers it better than I can: HTH, Hank Hank Ratzesberger NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks a lot Hank. This did the trick. I could instantiate my processor now.
Madhuri
On Thu, Jul 23, 2009 at 1:13 PM, Hank Ratzesberger <[hidden email]> wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |