Hello!
This is probably stupidly simple, but: I'd like to use the new SortTerm[]
functionality with IMAP in Camel 2.15.
I'm using spring xml to configure my bean bindings and want to refer to the
sort term (say, SortTerm.SUBJECT) by referring to a binding id in the
endpoint URI like this: sortTe
Hi,
Thanks a lot Claus. In addition, if someone else is wondering about
this, I managed to solve the issue (with some help from a nice
colleague) by creating a factoryBean that returns a SortTerm[]:
public class IMAPsearchTermFactory {
public static SearchTerm create() {
SearchTermBuilder
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};
}
}
BR,
Øyvind
--
View this message in c