Ignore:
Timestamp:
07/04/13 16:45:14 (11 years ago)
Author:
stoda
Message:

ParameterQueues? changed, added some properties to modify the queues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/omq/common/util/ParameterQueue.java

    r44 r77  
    1212         */
    1313
    14         public static String SERIALIZER_NAME = "omq.serializer";
     14        /**
     15         * Set the proxy's serializer method
     16         */
     17        public static String PROXY_SERIALIZER = "omq.serializer";
    1518
    1619        /**
    1720         * Set whether the messages must be compressed or not
    1821         */
    19         public static String ENABLECOMPRESSION = "omq.compression";
     22        public static String ENABLE_COMPRESSION = "omq.compression";
    2023
    2124        /**
    2225         * Set the ip where the rabbitmq server is.
    2326         */
    24         public static String SERVER_HOST = "omq.host";
     27        public static String RABBIT_HOST = "omq.host";
    2528
    2629        /**
    2730         * Set the port that rabbitmq uses.
    2831         */
    29         public static String SERVER_PORT = "omq.port";
     32        public static String RABBIT_PORT = "omq.port";
    3033
    3134        /**
     
    5154
    5255        /**
    53          * Set the clients event queue. Every client must have a different queue
    54          * name.
    55          */
    56         public static String EVENT_REPLY_QUEUE = "omq.reply_queue_event";
    57 
    58         /**
    5956         * Set if the queues must be durable. The queues won't be lost when rabbitmq
    6057         * crashes if DURABLE_QUEUES is set trues.
     
    7269        public static String MESSAGE_TTL_IN_QUEUES = "omq.message_ttl_queue";
    7370
    74         // TODO persisten messages? the messages will be saved in the disk if this
     71        // TODO persistent messages? the messages will be saved in the disk if this
    7572        // flag is set true
    7673
     74        /**
     75         * Set if the system will use ssl
     76         */
    7777        public static String ENABLE_SSL = "omq.enable_ssl";
    78         public static String DEBUGFILE = "omq.debug_file";
    7978
     79        /**
     80         * Set how many time we have to wait to retry the connection with the server
     81         * when this goes down
     82         */
    8083        public static String RETRY_TIME_CONNECTION = "omq.retry_connection";
    8184
    82         /*
    83          * Values
     85        /**
     86         * Set how many threads will be created to invoke remote methods
    8487         */
    85 
    86         // Change this!!!
    87         public static String RPC_TYPE = "direct";
    88 
    8988        public static String NUM_THREADS = "omq.num_threads";
    9089
    91         public static String REGISTRY_NAME = "REGISTRY";
     90        /**
     91         * Set the specific name of a multi queue in a specific object
     92         */
     93        public static String MULTI_QUEUE_NAME = "omq.multi_queue_name";
     94
     95        /**
     96         * Set if server will delete a queue when is no longer in use
     97         */
     98        public static String AUTO_DELETE_QUEUE = "omq.auto_delete";
     99
     100        /**
     101         * Set if we are declaring an exclusive queue (restricted to this
     102         * connection)
     103         */
     104        public static String EXCLUSIVE_QUEUE = "omq.exclusive_queue";
     105
     106        /**
     107         * Set 1 to indicate the message will be nonpersistent and 2 to indicate it
     108         * will be persistent
     109         */
     110        public static String DELIVERY_MODE = "omq.delivery_mode";
    92111
    93112        /**
Note: See TracChangeset for help on using the changeset viewer.