It appears that you have not set up
connectionFactory
, which is why you get the NullPointerException when you try to use it. It's not straightforward, but start
here[
^] and go from there.
Peter
Vote for answers, and mark as accepted if they answer your question.