This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I am a complete /etc/rabbitmq/rabbitmq-env.conf file. | |
# Comment lines start with a hash character. | |
# This is a /bin/sh script file - use ordinary envt var syntax | |
NODENAME=mir_node_2@localhost | |
NODE_PORT=5673 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{mnesia, [{dump_log_write_threshold, 1000}]}, | |
{rabbit, [{tcp_listeners, [5673]}]}, | |
{rabbitmq_management, | |
[{listener, [{port, 15673}, | |
{ip, "127.0.0.1"} | |
]} | |
]} | |
]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:rabbit="http://www.springframework.org/schema/rabbit" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://www.springframework.org/schema/rabbit http://www.springframework.org/schema/rabbit/spring-rabbit.xsd"> | |
<rabbit:connection-factory id="connectionFactory" addresses="localhost:5672,localhost:5673" publisher-confirms="true"/> | |
<rabbit:template id="amqpTemplate" connection-factory="connectionFactory"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package rabbitmqclient; | |
import junit.framework.Test; | |
import junit.framework.TestCase; | |
import junit.framework.TestSuite; | |
import org.springframework.amqp.core.*; | |
import org.springframework.amqp.rabbit.core.*; | |
import org.springframework.amqp.rabbit.support.*; | |
import org.springframework.context.support.*; |
NewerOlder