You have to make an extra config in the queue config file, so it will look something like this:
'connections' => array(
'beanstalkd' => array(
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
),
'beanstalkd_remote' => array(
'driver' => 'beanstalkd',
'host' => 'remotehost',
'queue' => 'default',
)
)
If the default is set to "beanstalkd" you can keep calling it the normal way.
If you want to use the remote queue simply define the connection in the call like:
Queue::connection('beanstalkd_remote')->push(function($job)
{
// This pushes to remote beanstalkd
});