flux
Interface RabbitMQ

All Known Subinterfaces:
RabbitMQAction, RabbitMQTrigger

public interface RabbitMQ

RabbitMQ shared by RabbitMQAction for publishing messages and RabbitMQTrigger for consuming messages.

Author:
arul@fluxcorp.com

Method Summary
 void setHost(String host)
          RabbitMQ host name where the broker in running.
 void setPassword(String password)
          Set the password.
 void setPort(int port)
          Set the target port.
 void setQueueName(String queueName)
          Specify queue name if you are using a shared queue.
 void setUsername(String username)
          Set the user name.
 void setVirtualHost(String virtualHost)
          Set the virtual host.
 

Method Detail

setHost

void setHost(String host)
RabbitMQ host name where the broker in running.

Parameters:
host - name of the host where broker is running.

setPassword

void setPassword(String password)
Set the password. Defaults to "guest".

Parameters:
password - password.

setPort

void setPort(int port)
Set the target port. Defaults to 5672.

Parameters:
port - target port.

setQueueName

void setQueueName(String queueName)
Specify queue name if you are using a shared queue.

Parameters:
queueName - queue name.

setUsername

void setUsername(String username)
Set the user name.

Parameters:
username - username.

setVirtualHost

void setVirtualHost(String virtualHost)
Set the virtual host.

Parameters:
virtualHost - virtual host.


© 2000-2011 Flux Corporation. All rights reserved.