Skip to content

Commit

Permalink
set connection automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
skin27 committed Mar 23, 2023
1 parent cc63603 commit 08f0d04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Binary file modified ${activemq.data}/kahadb/db.data
Binary file not shown.
Binary file modified ${activemq.data}/kahadb/db.redo
Binary file not shown.
Binary file modified ${activemq.data}/kahadb/lock
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class FlowEditorEsbComponent implements OnInit, OnDestroy {

public stepTypes = ["SOURCE", "ACTION", "SINK", "ROUTE", "SCRIPT", "CONNECTION", "ERROR"];
public languageComponentsNames: Array<any> = ['groovy','java','javascript','jslt','python','simple','xslt'];
public componentsWithConnection: Array<any> = ['amazonmq','amqp','amqps','jms','sjms','sjms2','sql','ibmmq','sonicmq'];

public logLevelListType = [
LogLevelType.OFF,
Expand Down Expand Up @@ -508,6 +509,12 @@ export class FlowEditorEsbComponent implements OnInit, OnDestroy {
this.enableMessage[stepFormIndex] = false;
}

if(this.componentsWithConnection.includes(componentType)){
this.enableConnection[stepFormIndex] = true;
}else{
this.enableConnection[stepFormIndex] = false;
}

}

if(stepForm){
Expand Down

0 comments on commit 08f0d04

Please sign in to comment.