Umm, yes, sorry - that was the wrong piece of code! Brain fart... Here's what
I used for the SortTerm:

public class SubjectSortTermsFactory {

        public static SortTerm[] create() {
                return new SortTerm[]{SortTerm.SUBJECT};
        }
}

<bean id="subjectSortTerm"
class="no.ngt.tech.b2b.vulaparser.util.SubjectSortTermsFactory"
factory-method="create"/>

BR,
Øyvind



--
View this message in context: 
http://camel.465427.n5.nabble.com/SortTerm-in-Spring-XML-tp5764866p5764908.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to