Change startup order for SnmpTransportContext
This commit is contained in:
		
							parent
							
								
									235deb5230
								
							
						
					
					
						commit
						b31460dbc3
					
				@ -73,7 +73,7 @@ public class SnmpTransportContext extends TransportContext {
 | 
			
		||||
    private final Map<DeviceId, DeviceSessionContext> sessions = new ConcurrentHashMap<>();
 | 
			
		||||
    private final Collection<DeviceId> allSnmpDevicesIds = new ConcurrentLinkedDeque<>();
 | 
			
		||||
 | 
			
		||||
    @AfterStartUp(order = 2)
 | 
			
		||||
    @AfterStartUp(order = Integer.MAX_VALUE)
 | 
			
		||||
    public void fetchDevicesAndEstablishSessions() {
 | 
			
		||||
        log.info("Initializing SNMP devices sessions");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user