Reputation: 121
Trying to connect Apache James with AWS Keyspaces. James is able to connect but, failing with the above error after few seconds.
According to the stack trace the exception is thrown from the above method.
Any help is appreciated. Thank you,
Upvotes: 2
Views: 347
Reputation: 87234
As error message shows, the now
function isn't supported by Amazon Keyspaces, so James won't work out of box without modification. You can try to change that function to something like this (see doc for QueryBuilder):
return session.prepare(select()
.all()
.from("local"))
.bind();
and rebuild. But most probably, it will fail in some other place.
P.S. Really, there are plenty of differences from OSS Cassandra, so a lot of code may not work.
Upvotes: 2