IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Problems inserting a JMS Message into the Pipeline

    Posted 07/21/04 04:24 PM

    Hi,

    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.last(); 
    pipelineCursor.insertAfter( "message", msg); 
    

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

    Could not run this service ‘foo’
    java.lang.ClassCastException:java.lang.integer

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

    Logan Wilkins
    Cisco Systems


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Problems inserting a JMS Message into the Pipeline

    Posted 07/21/04 04:58 PM

    Forgot to mention that this is wM IS 4.6

    -Logan


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Problems inserting a JMS Message into the Pipeline

    Posted 08/14/04 08:53 PM

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


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services