Can you get the sender to specify which type of file it is using a particular 
topic or message header or something?

Michael Davis

On 2019-06-21, 5:29 PM, "Ron Cecchini" <roncecch...@comcast.net> wrote:

    Hey, all.
    
    I have a route that's sitting on a port and it can receive 1 of 2 different 
XML messages.
    
    I was simply going to try to unmarshal with the first one, and if it 
errors, unmarshal with the next one.
    
    But is there a smarter or best practices way to handle this?
    
    Thanks.
    
    
    

Reply via email to