Error using EMA with TREP

Hi,
I'm migrating an application using JFCS Api with MLIP to EMA Api with TRCC to publish data.
I'm connecting over TREP.


I used the Java exemple Consumer - 341 and I get this error:
F62: Tunnel stream aggregation does not support item requests.

Any info about the error? Or better exemple for my use case, I need to send text to quote page for FIDs ROW80_2 to 25 (316 to 339)?
Thanks
Stephane

Sort by:
1 - 1 of 11

    Hello @Stephane Rossi

    Could you please share your Post message snippet code, full Nack message text, and enable the XML trace message? You can see how to enable the EMA XML trace in "EMA Java Logging" section of the EMA Configuration Overview article.

    Please note that the RCC Off-Stream Post message must have the following conditions:

    • The Ack attribute must be true
    • The message must contain the PostID attribute and value
    • The Key information includes Name and Service attributes that refer to the contribution RIC name and RCC contribution service name
    • The Message payload must be an Update message type
    • The Message payload must contain the same Key information as the Post message

    My modification code is the following:

    FieldList nestedFieldList = EmaFactory.createFieldList();
    nestedFieldList.add(EmaFactory.createFieldEntry().real(22, 34, OmmReal.MagnitudeType.EXPONENT_POS_1));
    nestedFieldList.add(EmaFactory.createFieldEntry().real(25, 35, OmmReal.MagnitudeType.EXPONENT_POS_1));

    // create an update message for our item
    UpdateMsg nestedUpdateMsg = EmaFactory.createUpdateMsg()
        .streamId(postId)
        .name("<CONTRIBUTION_RIC>" )
        .payload(nestedFieldList);

    PostMsg postMsg = EmaFactory.createPostMsg();

    ((OmmConsumer)event.closure()).submit( postMsg.postId( postId++ ).serviceName( "TRCC" )
        .name( "<CONTRIBUTION_RIC>" ).solicitAck( true ).complete(true)
        .payload(nestedUpdateMsg), event.handle() );