Cloud Pak for Integration

 View Only
Expand all | Collapse all

Increase Queue application data length on CP4I

  • 1.  Increase Queue application data length on CP4I

    Posted Tue August 02, 2022 02:13 AM
    Hi,

    We are trying to put the application data inside the message queue and increased the message length as 104857600(100MB). Still the application data showing is 1024 only. 

    We are unable to put the complete message in queue. 

    Kindly, give us the resolution.





    ------------------------------
    Abhiram Emmadishetty
    ------------------------------


  • 2.  RE: Increase Queue application data length on CP4I

    Posted Tue August 30, 2022 02:22 PM
    IF you think your only receiving a message payload of 1024, what are you using to verify the actual length of messages on the Queue. MQExplorer will tell you the size of the messages. Also, using the sample browse program, amqsbcg or amqsbcgc, will read the message and dump it to screen or a file and you can then inspect it to see the length. There could be a coupe of reasons why you are only seeing 1024. Not all to do with the actual length of the message.

    ------------------------------
    Robert (Bobbee) Broderick
    Senior WebSphere Consultant
    IBM
    Madison AL
    917-453-6790
    ------------------------------



  • 3.  RE: Increase Queue application data length on CP4I

    Posted Wed August 31, 2022 06:31 AM
    Hi,

    You need to consider the MAXMSGL parameter in 3 places:

    1. queue manager
    2. queue
    3. channel

    The queue manager MAXMSGL will govern the entire queue manager and if it is lower than the MAXMSGL of the queue or channel it will take precedence. So you can set a high MAXMSGL for the queue manager and then restrict some queues to smaller message sizes but you can't restrict the whole queue manager and then give a queue a higher value.

    The channel could be used to set a maximum lower than the queue manager but still allow finer grained maximums for each of the queues that an application is accessing via that channel.

    e.g.

    Application A uses channel A
    Queue manager max 100MB
    Channel A max 50MB
    Queue X 50MB queue Y 10MB

    Application B uses channel B
    Queue manager max 100MB
    Channel B max 80MB
    Queue X.X 80MB queue Y.Y 1MB



    ------------------------------
    Regards,

    Martin Evans
    IBM MQ Technical Product Manager
    ------------------------------