When starting a spring-based Camel application, The following error is observed:
Believe the error is being caused by a bug in the AutoConfiguration class, specifically the ensureNameSpace method:
The problem would appear to be that pulsarAdmin.namespaces().getNamespaces(tenant) returns a list of fully qualified namespaces (e.g., "default/public") whereas, the if check is comparing just the namespace alone (e.g. "public") against the fully qualified list. Naturally, this fails, and it then tries to create the namespace (which already exists), feeding it in the wrong format, causing the error to be thrown.