The options I used is
1)Direct mode: In direct mode I used with -direct 1 in the command line while starting amq_server and connection->direct=TRUE in my application.
I also used the wireapi.cfg in the ibase folder to tune the direct mode for performance, I changed the batching value from 5000 to 100000, I am getting the big difference.
2)I also used the private_credit value, it has also not given me much difference.
where should I have to correct to improve the performance?