{
	"register" : [
		{"type":"input","id":"mypush","require":"examples/custom/push-input.js"},
		{"type":"input","id":"mypull","require":"examples/custom/pull-input.js"},
		{"type":"processor","id":"myproc","require":"examples/custom/custom-processor.js"},
		{"type":"processor","id":"myprocblock","require":"examples/custom/custom-processor-block.js"},
		{"type":"transporter","id":"mytrans","require":"examples/custom/custom-transporter.js"},
		{"type":"transporter","id":"mytransblock","require":"examples/custom/custom-transporter-block.js"}
	],

	"config" : {
		"datadir" : "/tmp/nsyslog",
		"input" : {"maxPending" : 100},
		"buffer" : {"maxPending" : 100},
		"processor" : {"maxPending" : 100},
		"transporter" : {"maxPending" : 100}

	},

	"inputs" : {
		"pusher1" : {
			"type" : "mypull",
			"attach" : ["fork1","fork2"],
			"config" : {
				"interval" : 1000,
				"threshold" : 1
			}
		},
		"pusher2" : {
			"type" : "mypull",
			"attach" : ["fork1","fork2"],
			"config" : {
				"interval" : 1000,
				"threshold" : 1
			}
		}
	},

	"processors" : {
		"multi" : {
			"type" : "myprocblock",
			"config" : {
				"block" : false,
				"cpu" : 0
			}
		},
		"multi2" : {
			"type" : "myprocblock",
			"config" : {
				"block" : false,
				"cpu" : 0
			}
		},
		"multi3" : {
			"type" : "myprocblock",
			"config" : {
				"block" : false,
				"cpu" : 0
			}
		}
	},

	"transporters" : {
		"block" : {
			"type" : "mytransblock",
			"config" : {
				"format" : "${seq}: ${originalMessage}",
				"block" : false
			}
		},
		"block3" : {
			"type" : "mytransblock",
			"config" : {
				"format" : "${seq}: ${originalMessage}",
				"block" : false
			}
		},
		"logger" : {
			"type" : "console",
			"config" : {
				"format" : "${JSON}"
			}
		}
	},

	"flows" : [
		{"id":"fork1", "disabled":false, "from":"pusher1", "fork":true, "cores":1,  "processors":["multi","multi2"],"transporters":["block","#fork3"], "mode":"parallel"},
		{"id":"fork2", "disabled":false,  "from":"pusher2", "fork":true, "processors":["multi","multi2"],"transporters":["block"], "mode":"parallel"},
		{"id":"fork3", "disabled":false, "from":"false", "fork":true, "processors":["multi3"], "transporters":["block3"], "mode":"parallel"}
	]
}
