For the logging in a clustered system, I'm planning to store all log information in a database table.
I'm not sure if a SQL INSERT statement WILL LAST MORE than sending a message to a JMS Queue Server.
I'm close to say that a SQL INSERT statement will last more.
So, you're asking us to estimate the time required to insert a row into a database which has an unknown number of rows already there, and an unknown number of indexes, and an unknown set of insert triggers, over an unknown network. And you're asking us to estimate the time required to send a JMS message of an unknown size over an unknown network. And then you're asking us to tell you which number is bigger. I'm sure that when your question is put this way, you can see that you aren't going to get any useful answers.
subject: JMS Queue X SQL INSERT statement Performance