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
Hi
Ah thanks. I assume its a SortTerm builder. As the code you show is
about search terms.
Btw for search terms, you can use the search.XXX prefix in the uri to
build that also a bit easier for some simpler cases.
See bottom of page
http://camel.apache.org/mail.html
On Fri, Mar 27, 2015 at 12:4
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
Hi
Yeah we should make this easier so you can do something similar to
what searchTerm can do. I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-8560
On Fri, Mar 27, 2015 at 12:06 AM, camelvev wrote:
> Hello!
>
> This is probably stupidly simple, but: I'd like to use the new Sort