Looking at the code you posted I can't see anything that initialises connectionFactory, so I'm unsurprised that connectionFactory.createConnection() gives an NPE.
JamesCherrill
... trying to help
8,494 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,454
Skill Endorsements: 29
Maybe something got lost in the move from NB to E.?
JamesCherrill
... trying to help
8,494 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,454
Skill Endorsements: 29
Question Answered as of 2 Years Ago by
JamesCherrill