Problems inserting a JMS Message into the Pipeline


I some code that reads a JMS TextMessage from a queue and then inserts it into the pipeline. The code is as you would expect:

IDataCursor pipelineCursor = pipeline.getCursor();  
msg = (TextMessage) queueReceiver.receiveNoWait();  
pipelineCursor.insertAfter( "message", msg); 

When I run this I get an error window with the messages:

Could not run this service ‘foo’

Does anyone know why this might be happening? Thans in advance.

Logan Wilkins
Cisco Systems

Forgot to mention that this is wM IS 4.6


Are you using JMS adapter or reading queue using custom code via Java service?