Project: springxd
Issue XD-2365: Direct binding with singlenode leaves stream broken
xd:>stream create --name foo --definition "time|log" xd:>stream deploy --name foo --properties "module.*.count=0" {code} 16:42:35,121 1.1.0.SNAP ERROR DeploymentsPathChildrenCache-0 server.DeploymentListener - Exception deploying module java.lang.IllegalArgumentException: LocalMessageBus does not support consumer property: directBindingAllowed for foo.0. {code} Ok, that's cool. Let's destroy and create again: xd:>stream destroy --name foo xd:>stream create --name foo --definition "time|log" --deploy {code} org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.integration.monitor.IntegrationMBeanExporter#0#9363c963-41db-4cd6-b273-b52b02aba80d'; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [MessageChannelMonitor: [name=output, sends=0]] with key 'org.springframework.integration:type=MessageChannel,name=output'; nested exception is javax.management.InstanceAlreadyExistsException: xd.foo:module=time.0,component=MessageChannel,name=output {code} {code} xd:>runtime modules Module Id Container Id Options Deployment Properties Unit status -------------- ------------------------------------ ------------------------------------------ --------------------- ----------- foo.sink.log.1 ce5cf83f-3e62-4960-8d46-e5cb06203992 {name=foo, expression=payload, level=INFO} {count=1, sequence=1} failed {code}
Story points: 3