I have an application that has been written without following the 'correct' usage, as shown in the for-pay documentation examples:
1) creates a Queue connection and then calls .start() on that connection *before* it creates a session on the connection. Could this cause problems? The sample code in the for-pay docs show the session created before connection is started.
2) the connection is not stopped before being closed. The sample code in the for-pay docs show conn.stop() called before conn.close()
Are these usages harmless or could they cause memory leaks?
1/ No it's not a problem
2/ As far As I know it's not a problem to close it without stoping it first
Now, if you have seen those changes in the doc, why don't you update your code directly?