package org.camunda.bpm.extension.example.process.simple;

import javax.inject.Inject;

import org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration;
import org.camunda.bpm.extension.cloud.broadcaster.BroadcasterConfiguration;
import org.camunda.bpm.extension.cloud.broadcaster.BroadcasterInitializer;
import org.camunda.bpm.extension.reactor.CamundaReactor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(BroadcasterConfiguration.class)
public class ReactorProcessEngineConfiguration {

//  @Inject
//  BroadcasterInitializer initializer;

  @Bean
  public StandaloneInMemProcessEngineConfiguration configuration() {
//    initializer.initialize();
    return new StandaloneInMemProcessEngineConfiguration() {
      {
        this.getProcessEnginePlugins().add(CamundaReactor.plugin());
      }
    };
  }
}

@@ -56,37 +56,8 @@
 e;%0A%0A
-import javax.inject.Inject;%0A%0A
 impo
@@ -215,83 +215,8 @@
 on;%0A
-import org.camunda.bpm.extension.cloud.broadcaster.BroadcasterInitializer;%0A
 impo
@@ -545,61 +545,8 @@
  %7B%0A%0A
-//  @Inject%0A//  BroadcasterInitializer initializer;%0A%0A
   @B
@@ -622,40 +622,8 @@
 ) %7B%0A
-//    initializer.initialize();%0A
     

remove unnecessary comments