Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Isomorphic
    replied
    Interesting - and surprising. We don't encode into a MapMessage, but we do decode MapMessages (in case there are other senders on the wire that do use such encodings). Looking at RMQ's implementation, an RMQMapMessage (their implementation of the MapMessage interface) is _not_ also an ObjectMessage (and similarly an RMQObjectMessage does not implement MapMessage), which precludes us e.g. accidentally decoding an ObjectMessage as a MapMessage by falling into an unintended bucket.

    If you can put some debugging there, that would be really helpful. I will look into it further from our end as well.

    As far as the log message about websockets: this concerns the communication mechanism between the server and the browser. Modern browsers support websockets natively and in 11.1 we introduced support for this mechanism (which is the modern way to do server push), but in that version we left it disabled by default so as not to introduce a major change in a minor version bump of our product. It is enabled by default (with an automatic back-off to the original mechanism in 12.0). To turn it on, you have to both set:

    Code:
    messaging.websocket.enabled: true
    in your server.properties, and set this flag on your bootstrap page immediately after loading SmartClient/SmartGWT, and before establishing a realtime message connection:

    Code:
    isc.Messaging.useWebSocket: true
    If the browser does not support websockets, this setting will have no effect - we will automatically back off.

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    So the question I have now is: do you have any other senders on this channel that are either not SmartClient/SmartGWT based or, if they are, have a different encoding set for messaging.jms.encoding (something other than json)?
    Nope, there aren't other senders.

    Note this log on both tomcat nodes of the cluster, don't know if the websocket support is something I have to enable.

    Code:
    2019-02-06 23:14:14,272 DEBUG MessagingWebSocketEndpoint Websocket support disabled via server.properties setting: messaging.websocket.enabled 
    2019-02-06 23:15:02,562 INFO  JMSMessageDispatcher Initializing JMS connection - JMS API version: 1.1 - provider: RabbitMQ version 4.3.0 
    2019-02-06 23:15:02,563 INFO JMSMessageDispatcher JMS Connection started. Using json encoding
    Originally posted by Isomorphic View Post
    What's odd here is that the object you're describing should have been encoded as a TextMessage and should therefore have gone through a different processing path when removed from the JMS Queue - it should have been processed as a TextMessage, not a BytesMessage and the whole issue of UTF conversion should have been avoided.
    Actually if I decompile JMSMessageDispatcher, it seems that it's processed as a MapMessage.
    Would be useful if I try debugging mode into that class?

    Leave a comment:


  • Isomorphic
    replied
    Null values in the object literal are fine - the null handling I was referring to is actually at the level of parsing the JSON object as a string.

    What's odd here is that the object you're describing should have been encoded as a TextMessage and should therefore have gone through a different processing path when removed from the JMS Queue - it should have been processed as a TextMessage, not a BytesMessage and the whole issue of UTF conversion should have been avoided.

    So the question I have now is: do you have any other senders on this channel that are either not SmartClient/SmartGWT based or, if they are, have a different encoding set for messaging.jms.encoding (something other than json)?

    Leave a comment:


  • claudiobosticco
    replied
    Actually the message is not null, see the log below.
    There are null attributes though.
    could that be the problem?

    Code:
    2019-02-06 21:11:23,823 DEBUG MessagingConnectionHandler Delivering data: [
        {
            ID_SETTORI_FK: 4259846,
            field19: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097080,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 19,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "17"
            },
            field17: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097078,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 17,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "15"
            },
            field18: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097079,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 18,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "16"
            },
            field27: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097101,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 27,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "25"
            },
            field26: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097087,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 26,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "24"
            },
            field25: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097086,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 25,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "23"
            },
            field24: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097085,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 24,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "22"
            },
            field23: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097084,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 23,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "21"
            },
            field22: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097083,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 22,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "20"
            },
            field21: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097082,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 21,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "19"
            },
            field20: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097081,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 20,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "18"
            },
            field14: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097075,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 14,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "12"
            },
            field13: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097074,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 13,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "11"
            },
            field16: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097077,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 16,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "14"
            },
            field15: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097076,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 15,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "13"
            },
            field10: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 10,
                Y_COORD: 3
            },
            field12: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 12,
                Y_COORD: 3
            },
            NUMERO_FILA: 20,
            field11: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 11,
                Y_COORD: 3
            },
            ID_REC: 20,
            field39: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097096,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 39,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "34"
            },
            isRecordFila: true,
            field45: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 45,
                Y_COORD: 3
            },
            field5: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097069,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 5,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "6"
            },
            field4: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097068,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 4,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "5"
            },
            field44: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 44,
                Y_COORD: 3
            },
            field43: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097100,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 43,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "38"
            },
            field3: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097067,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 3,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "4"
            },
            field42: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097099,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 42,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "37"
            },
            field2: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097102,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 2,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "3"
            },
            field9: {
                IS_TESSERATO_SPOSTATO_EVENTO: true,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097073,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 9,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: true,
                NUMERO_FILA: 20,
                ID_TESSERATO: 10038,
                NUMERO_POSTO: "10",
                COGNOME_TESSERATO: "ARRIVABCDE",
                NOME_TESSERATO: "Maurizio"
            },
            field8: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097072,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 8,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "9"
            },
            field7: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097071,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 7,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "8"
            },
            field6: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "RP",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 1,
                PREZZO: null,
                STILE: "postoStyleRisPres",
                ID_REC: 2097070,
                STATO_POSTO: "Riservato Famiglia Presidente",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 6,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "7"
            },
            field1: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 1,
                Y_COORD: 3
            },
            field41: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097098,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 41,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "36"
            },
            field40: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097097,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 40,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "35"
            },
            field0: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 0,
                Y_COORD: 3
            },
            field28: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097088,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 28,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "26"
            },
            field29: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097089,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 29,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "27"
            },
            numeroFields: 46,
            field32: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097092,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 32,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "30"
            },
            field31: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097091,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 31,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "29"
            },
            field34: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 34,
                Y_COORD: 3
            },
            field33: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 33,
                Y_COORD: 3
            },
            field36: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097093,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 36,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "31"
            },
            field35: {
                NUMERO_FILA: 20,
                IS_SPACER: true,
                X_COORD: 35,
                Y_COORD: 3
            },
            field38: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097095,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 38,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "33"
            },
            field37: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097094,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 37,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "32"
            },
            field30: {
                IS_TESSERATO_SPOSTATO_EVENTO: false,
                CODICE_STATO_POSTO: "ND",
                ID_LISTINI_FK: 4259780,
                ID_STATI_POSTO_FK: 0,
                PREZZO: null,
                STILE: "postoStyleNonDisp",
                ID_REC: 2097090,
                STATO_POSTO: "Non Disponibile",
                ID_SETTORI_FK: 4259846,
                INVITATO_IS_TESSERATO_EVENTO: false,
                ID_FILE_SETTORI_FK: 4259852,
                ID_VOCE_LISTINO_FK: null,
                X_COORD: 30,
                IS_SPACER: false,
                Y_COORD: 3,
                PREZZO_STYLE: null,
                INVITATO_IS_TESSERATO: false,
                PREZZO_LORDO: null,
                CODICE_SETTORE: "101",
                IS_TESSERATO_SPOSTATO: false,
                NUMERO_FILA: 20,
                NUMERO_POSTO: "28"
            },
            _cellSelection_5: [
                0,
                0
            ]
        }
    ]
    to:com.isomorphic.messaging.JMSMessageDispatcher, channels: [
        "jms/updateMappaJtaChannel"
    ]

    Leave a comment:


  • Isomorphic
    replied
    It looks like RMQ doesn't handle null messages properly in this situation. It's not clear that that's what you were sending, but we have put in a fix at least for that case and with this change are no longer relying on RMQ to do the conversion to UTF8, instead using the platform default. Please give this a shot in the next stable build (Feb 8 or later)

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    Was the BytesMessages issue you reported was resolved for you by the latest patch build?
    Hello, sorry for the very late reply.
    I've just tested using this build:

    SmartClient Version: v11.1p_2019-01-21/Enterprise Deployment (built 2019-01-21)

    and I've got a different error:

    Code:
    2019-02-06 16:19:01,088 ERROR JMSMessageDispatcher Unable to deliver jms message 
    javax.jms.MessageFormatException: Not enough bytes in message body for UTF object
    at com.rabbitmq.jms.client.message.RMQBytesMessage.readUTF(RMQBytesMessage.java:206)
    at com.isomorphic.messaging.JMSMessageDispatcher.iscMessage(JMSMessageDispatcher.java:320)
    at com.isomorphic.messaging.JMSMessageDispatcher$1.onMessage(JMSMessageDispatcher.java:280)
    at com.rabbitmq.jms.client.DeliveryExecutor$CallOnMessage.call(DeliveryExecutor.java:33)
    at com.rabbitmq.jms.client.DeliveryExecutor$CallOnMessage.call(DeliveryExecutor.java:23)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    apart for the SmartClient version, everything is configured as above.

    Please let me know if you need more details or other tests.

    Leave a comment:


  • Isomorphic
    replied
    Was the BytesMessages issue you reported was resolved for you by the latest patch build?

    Leave a comment:


  • Isomorphic
    replied
    Please try out tomorrow's (Nov 9) build. The error you're seeing with BytesMesssage encoding should be resolved there...so long as you are using json message encoding (which I think you are)

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    Ok, the $$DATESTAMP$$ issue is fixed and will appear in the next stable build (should be Oct 27).
    BTW, this is fixed with SmartClient Version: v11.1p_2018-10-27/Enterprise Deployment (built 2018-10-27)

    Leave a comment:


  • claudiobosticco
    replied
    Thanks for the explanation.
    Now I'm testing with:
    SmartClient Version: v11.1p_2018-10-27/Enterprise Deployment (built 2018-10-27)
    and I've defined the routing:
    Click image for larger version

Name:	2018-10-30 09.57.00.jpg
Views:	297
Size:	37.3 KB
ID:	255688
    but I see this error in the server logs:
    Code:
    2018-10-30 09:50:30,514 DEBUG MessagingConnectionHandler Delivering data: [
    ....[cut]
    2018-10-30 09:50:30,517 DEBUG MessagingConnectionHandler calling cleanup() 
    2018-10-30 09:50:30,517 DEBUG  JMSMessageDispatcher closing session 
    2018-10-30 09:50:30,518 DEBUG RPCDMI rpc returned RPCResponse 
    2018-10-30 09:50:30,518 ERROR JMSMessageDispatcher Unable to deliver jms message 
    java.lang.Exception: BytesMessage encoding is not supported at this time
        at com.isomorphic.messaging.JMSMessageDispatcher.iscMessage(JMSMessageDispatcher.java:319)
        at com.isomorphic.messaging.JMSMessageDispatcher$1.onMessage(JMSMessageDispatcher.java:280)
        at com.rabbitmq.jms.client.DeliveryExecutor$CallOnMessage.call(DeliveryExecutor.java:33)
        at com.rabbitmq.jms.client.DeliveryExecutor$CallOnMessage.call(DeliveryExecutor.java:23)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
    am I missing something else?

    Leave a comment:


  • Isomorphic
    replied
    Ok, the $$DATESTAMP$$ issue is fixed and will appear in the next stable build (should be Oct 27).

    As far as the other issue is concerned, I can't replicate the issue with consumers not receiving messages, but what I do see is that if you omit this flag:

    Code:
    ​​​​​​            cleanUpServerNamedQueuesForNonDurableTopicsOnSessionClose="true"
    ...Then temporary queues do pile up. The thing is, RMQ doesn't technically have "topics", only queues. Messages are published on an "exchange" and are then routed to queues. If you manually make a queue and point the connector at it, unless you configure routing to that queue in the RMQ console, it's essentially unused because we publish to a Topic which just ends up creating a temporary queue (which is then not cleaned up unless you specify this magic flag). Does that make sense?

    I think all you need to do is configure routing (via the RMQ admin console) from the jms exchange to your named durable queue and then the consumer of that queue should receive the messages.

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    The $$DATE$$ string is our on-the-wire encoding for date objects. Are you saying that when you send a Date via the channel that it's delivered as that encoded string all the way to the browser? That definitely shouldn't be happening and from a quick check of the code it looks like the logic is correct...
    Yes, I see dates delivered with the internal encoding.
    In my tests I'm sending the message using the client APIs, I don't know if it may be related.

    Originally posted by Isomorphic View Post
    As far as the other issue: the developer console uses temporary channels and can't be made to use a specific durable topic. Are you saying that even your named channels that you use for your own messaging do not work with a durable topic?
    Yes, without the amqp attributes it creates a new queue for every subscribe operation. With the amqp attributes, the consumer doesn't receive messages (even though it shows the right number of consumers).
    Last edited by claudiobosticco; 20 May 2022, 05:29.

    Leave a comment:


  • Isomorphic
    replied
    Hi there - really sorry for the delay - looks like the forums software notification failed in this particular case and we didn't see your updates to the post until just now.

    The $$DATE$$ string is our on-the-wire encoding for date objects. Are you saying that when you send a Date via the channel that it's delivered as that encoded string all the way to the browser? That definitely shouldn't be happening and from a quick check of the code it looks like the logic is correct...

    As far as the other issue: the developer console uses temporary channels and can't be made to use a specific durable topic. Are you saying that even your named channels that you use for your own messaging do not work with a durable topic?

    Leave a comment:


  • claudiobosticco
    replied
    Hello, any news?

    Is our support still active?

    Leave a comment:


  • claudiobosticco
    replied
    Hello, any news about this issue?

    Leave a comment:

Working...
X