Unable create an object in Custom outbound connector docker runtime

Hey @cma I have solved the issue
I was not doing the build properly with all dependencies
No i have changed my pom.xml as below

<build>
		<plugins>
			<plugin>
				<version>3.6.0</version>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<descriptorRefs>
						<descriptorRef>jar-with-dependencies</descriptorRef>
					</descriptorRefs>
				</configuration>
			</plugin>
		</plugins>
	</build>

While using with SpringBoot with this dependency in local as the jar with all dependencies will be running application starts and works fine but the dockerfile was not added with the extra dependencies, so in docker it was failing

In the case of connector core dependency It was not the same as we cannot run it in local as a spring boot or java application,

When I used jar with dependencies even though the credential object is in static block it is able to take it in the @OutboundConnector and performing operations

Thank you for your time and effort @cma

I don’t think I have the permission to close this issue

If anybody has the permission please close this

Thanks and regards
Praveen