Camunda-bpm-mail with Spring Boot | ConnectorException

Hello there,

I am having problems running a service task with a connector (ConnectorException: No connector found for connector id 'poll-mail'; using Spring Boot).

Do I have to do the 10 steps as in the examples from camunda-bpm-mail/examples/print-service at master · camunda-community-hub/camunda-bpm-mail (github.com) as well?
(I have already implemented the dependencies of the pom and a camunda.cfg.xml for the manually Bean configuration (Mail : Could not parse BPMN process - Community Extensions - Camunda Platform Forum))

However, with Maven mvn install I find only a .jar and no .war file … (in /target; project name is email)
What am I missing? Please help :pray: :sweat_smile:image

Hello @KameraUndA ,

what does your pom.xml look like? It should contain the connector-mail-core depedency as well as the plugin-connector-mail dependency. By default, this plugin is not part of the spring-boot starter.

Hope this helps

Jonathan

Hey,
do you mean camunda-connect-core & camunda-bpm-mail-core? (two of the three last dependencies of the following list)

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>2.4.3</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>

      <dependency>
        <groupId>org.camunda.bpm</groupId>
        <artifactId>camunda-bom</artifactId>
        <version>7.15.0</version>
        <scope>import</scope>
        <type>pom</type>
      </dependency>
    </dependencies>
  </dependencyManagement>

<dependencies>
    <dependency>
      <groupId>org.camunda.bpm.springboot</groupId>
      <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
      <version>7.15.0</version>
    </dependency>

    <dependency>
      <groupId>org.camunda.bpm.springboot</groupId>
      <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
      <version>7.15.0</version>
    </dependency>

    <dependency>
      <groupId>org.camunda.bpm</groupId>
      <artifactId>camunda-engine-plugin-spin</artifactId>
    </dependency>

    <dependency>
      <groupId>org.camunda.spin</groupId>
      <artifactId>camunda-spin-dataformat-all</artifactId>
    </dependency>

    <dependency>
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
    </dependency>

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-jdbc</artifactId>
    </dependency>

    <!-- E-Mail -->
    <dependency>
      <groupId>org.camunda.bpm</groupId>
      <artifactId>camunda-engine-plugin-connect</artifactId>
    </dependency>
    <dependency>
      <groupId>org.camunda.connect</groupId>
      <artifactId>camunda-connect-core</artifactId>
    </dependency>

    <dependency>
      <groupId>org.camunda.bpm.extension</groupId>
      <artifactId>camunda-bpm-mail-core</artifactId>
      <version>1.2.0</version>
    </dependency>

  </dependencies>

Hello @KameraUndA ,

the correct connector id for mail-polling according to documentation is mail-poll. I hope this works :stuck_out_tongue: .

Jonathan

1 Like

OMG :man_facepalming: Thanks, yeah i thought the connector id is variable like the other id names, so I decided to change the name for my process :joy:

1 Like