private void sendMessage(final DataAgentWorkOrder workOrder) {

		switch (workOrder.getTarget()) {
		case MODEL_EXTERNAL_RIKSDAGEN:
			for (final RiksdagenDataSources datasource :RiksdagenDataSources.values()) {
				jmsSender.send(riksdagenApiDestination, datasource);
			}
			break;
		case MODEL_EXTERNAL_WORLDBANK:
			for (final WorldBankDataSources datasource :WorldBankDataSources.values()) {
				jmsSender.send(worldBankApiDestination, datasource);
			}
			break;
		default:
			break;
		}
	}
private void sendMessage(final DataAgentWorkOrder workOrder) {

		switch (workOrder.getTarget()) {
		case MODEL_EXTERNAL_RIKSDAGEN:
			for (final RiksdagenDataSources datasource :RiksdagenDataSources.values()) {
				jmsSender.send(riksdagenApiDestination, datasource);
			}
			break;
		case MODEL_EXTERNAL_WORLDBANK:
			for (final WorldBankDataSources datasource :WorldBankDataSources.values()) {
				jmsSender.send(worldBankApiDestination, datasource);
			}
			break;
		default:
			break;
		}
	}
private void sendMessage ( final DataAgentWorkOrder workOrder ) { switch ( workOrder . getTarget ( ) ) { case MODEL_EXTERNAL_RIKSDAGEN : for ( final RiksdagenDataSources datasource : RiksdagenDataSources . values ( ) ) { jmsSender . send ( riksdagenApiDestination , datasource ) ; } break ; case MODEL_EXTERNAL_WORLDBANK : for ( final WorldBankDataSources datasource : WorldBankDataSources . values ( ) ) { jmsSender . send ( worldBankApiDestination , datasource ) ; } break ; default : break ; } }
Send message.

@param workOrder
the work order
Send message .