Is there any way to listen to all transactions using bitcoind api?
Yes by default newer versions of bitcoin core should have zeromq enabled by default. Check here -> https://github.com/bitcoin/bitcoin/blob/master/doc/zmq.md 

If you're using java you can use the code snippet there (using https://github.com/zeromq/jeromq ) -> How do i parse the zeroMQ messages in java?