dear jamie,
while executing the echorepeat example, the following error occurs:
[BpmScript] ERROR [http-8080-Processor25] BpmScriptComponent.onMessageExchange(93) | org.mozilla.javascript.EvaluatorException: Can't find method org.apache.servicemix.jbi.messaging.NormalizedMessageImpl.setContent(java.lang.String). (classpath:/org/bpmscript/jbi/bpmscriptlibrary.js#57) org.mozilla.javascript.EvaluatorException: Can't find method org.apache.servicemix.jbi.messaging.NormalizedMessageImpl.setContent(java.lang.String). (classpath:/org/bpmscript/jbi/bpmscriptlibrary.js#57) at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:95)
any suggestions?
terr0rbyt3
A fixed version is in CVS.
thanks!!! wish you a wonderful monday :-)
i builded from current cvs - still got the error what were the changes you have commited? (version,etc) - i don't want to be out of sync!
hmmm... odd. the source for echo repeat should look like this:
function main(input, sender) {
var reply = "<result>"; for(var i = 0; i < 5; i++) {
var future = sender.send("http://bpmscript.org/jbi", "bpmscript", true, input.getInMessage().getContent(), {'process':'echo'});
reply += ST.toString(future.get().getOutMessage().getContent());
}
sender.reply(ST.toStreamSource(reply + "</result>"));
Log in to post a comment.
dear jamie,
while executing the echorepeat example, the following error occurs:
[BpmScript] ERROR [http-8080-Processor25] BpmScriptComponent.onMessageExchange(93) | org.mozilla.javascript.EvaluatorException: Can't find method org.apache.servicemix.jbi.messaging.NormalizedMessageImpl.setContent(java.lang.String). (classpath:/org/bpmscript/jbi/bpmscriptlibrary.js#57)
org.mozilla.javascript.EvaluatorException: Can't find method org.apache.servicemix.jbi.messaging.NormalizedMessageImpl.setContent(java.lang.String). (classpath:/org/bpmscript/jbi/bpmscriptlibrary.js#57)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:95)
any suggestions?
terr0rbyt3
A fixed version is in CVS.
thanks!!!
wish you a wonderful monday :-)
i builded from current cvs - still got the error
what were the changes you have commited? (version,etc) - i don't want to be out of sync!
terr0rbyt3
hmmm... odd. the source for echo repeat should look like this:
function main(input, sender) {
var reply = "<result>";
for(var i = 0; i < 5; i++) {
var future = sender.send("http://bpmscript.org/jbi",
"bpmscript",
true,
input.getInMessage().getContent(),
{'process':'echo'});
reply += ST.toString(future.get().getOutMessage().getContent());
}
sender.reply(ST.toStreamSource(reply + "</result>"));
}