Allows redis queue to use user-defined connection
used array_get to make code beautiful
Merge pull request #6035 from mohitmamoria/redis-queue-connections

[4.2] Allows Redis Queue To Use User Defined Connections