camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From camelvev <ca...@vevang.no>
Subject Re: SortTerm[] in Spring XML
Date Fri, 27 Mar 2015 12:53:23 GMT
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.

Mime
View raw message