162516261627162816291630163116321633
* @param count the number of times * @return the builder */ public LoopDefinition loop(int count) { LoopDefinition loop = getNodeFactory().createLoop(); loop.setExpression(new ConstantExpression(Integer.toString(count))); addOutput(loop); return loop; }
184718481849185018511852185318541855
6465666768697071
Pattern oneway = findOneWayAnnotation(method); if (oneway != null) { pattern = oneway.value(); } if (method.getAnnotation(org.apache.camel.RecipientList.class) != null) { recipientList = new RecipientList(new ConstantExpression(null)); } }
202120222023202420252026202720282029
211421152116211721182119212021212122
* @param count the number of times * @return the builder */ public LoopDefinition loop(int count) { LoopDefinition loop = new LoopDefinition(); loop.setExpression(new ConstantExpression(Integer.toString(count))); addOutput(loop); return loop; }
196719681969197019711972197319741975
164516461647164816491650165116521653
78798081828384858687
/** * Specify the constant expression value */ public T constant(Object value) { if (value instanceof String) { return expression(new ConstantExpression((String) value)); } else { return expression(ExpressionBuilder.constantExpression(value)); } }
197719781979198019811982198319841985
121512161217121812191220122112221223