Closed jvmlet closed 6 years ago
Hi, @jvmlet. Thanks for reporting. We are aware of this problem in 1.3 GA / Celsius.GA release of the apps. If you happen to deploy a "custom app" built with 1.3 GA / Ditmars.GA release of Spring Cloud Stream, you will bump into the same problem as well.
The root of the problem will be addressed in AMQP-788; however, we are working on a tactical solution in the rabbit-binder. In the meantime, you can switch to the 1.2 release-line of Spring Cloud Stream (for custom apps) or the 1.2 GA / Bacon.GA release OOTB apps.
I will leave this issue open for now; once the release is complete, I will update and close it then.
Thanks for prompt response, @sabbyanandan
Update: Spring Cloud Stream's Ditmars.SR1 release is complete. Building upon this, we are aiming to cut the Celsius.SR1 release for the stream-apps next week.
Hello
Are there any updates about the issue ?
The latest stable apps link is Celsius-SR1
which gives the below error when rabbit
app is starting.
Deploying rabbit
OOTB app from Bacon.RELEASE
works fine.
2018-02-08T11:40:30.86+0200 [APP/PROC/WEB/0] OUT 2018-02-08 09:40:30.848 WARN 7 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.stream.app.rabbit.source.RabbitSourceConfiguration': Unsatisfied dependency expressed through field 'rabbitProperties'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.autoconfigure.amqp.RabbitProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2018-02-08T11:40:30.86+0200 [APP/PROC/WEB/0] OUT 2018-02-08 09:40:30.865 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
Hi, @jvmlet. Yes, the release is complete; please upgrade to Celsius.SR1. Here's all the bit.ly's.
@sabbyanandan I've tried to deploy rabbit
OOTB app from Celsius.SR1 and got below error :
2018-02-08T11:40:30.86+0200 [APP/PROC/WEB/0] OUT 2018-02-08 09:40:30.848 WARN 7 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.stream.app.rabbit.source.RabbitSourceConfiguration': Unsatisfied dependency expressed through field 'rabbitProperties'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.autoconfigure.amqp.RabbitProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2018-02-08T11:40:30.86+0200 [APP/PROC/WEB/0] OUT 2018-02-08 09:40:30.865 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
rabbit
app from Bacon.RELEASE
works fine.
This doesn't show the entire stracktrace; could you share it, please? Also, if you can share the steps how you tried the SR1 that'd help, too.
Hello I've the SCDF deployed in CF using the manifest:
imcs-asp-dev-mq
is a RabbitMQ service.I've also created and successfully deployed the simple stream app
scdf-demo
with definitionhttp | log
. The exchangescdf-demo.http
and bounded queuescdf-demo.http.scdf-demo
are successfully created in RabbitMQ. My problem is that when I post tohttp
, I'm gettingConnection refused
exeption :On the other hand, when I manually push the message directly to the
scdf-demo.http.scdf-demo
queue in Rabbit UI console, I see the message being logged bylog
application. Please advise, Thanks