INT-1580, more polishing, moved PacketListener registration to a statr() method of an inbound endpoint
This commit is contained in:
@@ -29,14 +29,11 @@
|
||||
user="${user.2.login}"
|
||||
password="${user.2.password}"
|
||||
host="${user.2.host}"
|
||||
port="${user.2.port}"
|
||||
resource="${user.2.resource}"
|
||||
sasl-mechanism-supported="${user.2.sasl.mechanism}"
|
||||
sasl-mechanism-supported-index="${user.2.sasl.index}"
|
||||
service-name="${user.2.service}"
|
||||
/>
|
||||
|
||||
<xmpp:message-inbound-channel-adapter channel="xmppInbound" xmpp-connection="testConnection" extract-payload="false" auto-startup="false"/>
|
||||
<xmpp:message-inbound-channel-adapter channel="xmppInbound" xmpp-connection="testConnection"
|
||||
extract-payload="false"/>
|
||||
|
||||
<service-activator input-channel="xmppInbound" ref="xmppMessageConsumer"/>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ public class InboundXmppEndpointTests {
|
||||
@Test
|
||||
@Ignore
|
||||
public void run() throws Exception {
|
||||
Thread.sleep(10 * 1000);
|
||||
Thread.sleep(10 * 1000 * 1000);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -22,11 +22,11 @@ user.1.sasl.mechanism=PLAIN
|
||||
user.1.sasl.index=0
|
||||
user.1.resource=resource
|
||||
user.1.port=5222
|
||||
user.2.login=user2@gmail.com
|
||||
user.2.password=password
|
||||
user.2.login=springintegration.eip@gmail.com
|
||||
user.2.password=spr1ng1p
|
||||
user.2.host=talk.google.com
|
||||
user.2.service=gmail.com
|
||||
user.2.sasl.mechanism=PLAIN
|
||||
user.2.sasl.index=0
|
||||
user.2.resource=resource
|
||||
user.2.port=5222
|
||||
#user.2.sasl.mechanism=PLAIN
|
||||
#user.2.sasl.index=0
|
||||
#user.2.resource=resource
|
||||
#user.2.port=5222
|
||||
|
||||
Reference in New Issue
Block a user