fixed error message
This commit is contained in:
		
							parent
							
								
									dcdba9e75b
								
							
						
					
					
						commit
						f5598d6d07
					
				@ -156,8 +156,8 @@ public class TbRabbitMqNode extends TbAbstractExternalNode {
 | 
			
		||||
            case "PERSISTENT_TEXT_PLAIN":
 | 
			
		||||
                return MessageProperties.PERSISTENT_TEXT_PLAIN;
 | 
			
		||||
            default:
 | 
			
		||||
                throw new TbNodeException("Undefined message properties '" + name +
 | 
			
		||||
                        "'! Only " + supportedPropertiesStr + " message properties are supported!");
 | 
			
		||||
                throw new TbNodeException("Undefined message properties type '" + name +
 | 
			
		||||
                        "'! Only " + supportedPropertiesStr + " message properties types are supported!");
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -241,7 +241,7 @@ public class TbRabbitMqNodeTest {
 | 
			
		||||
        assertThatThrownBy(() -> TbRabbitMqNode.convert(name))
 | 
			
		||||
                .isInstanceOf(TbNodeException.class)
 | 
			
		||||
                .hasMessage("Undefined message properties type '" + name +
 | 
			
		||||
                        "'! Only " + supportedPropertiesStr + " message properties are supported!");
 | 
			
		||||
                        "'! Only " + supportedPropertiesStr + " message properties types are supported!");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user